- Extract duplicate model binding logic into `_get_model_by_name_or_fallback`. - Implement logic to prioritize workspace default configuration, falling back to the tenant's first available model if not found. - Simplify binding code for embedding, rerank, and LLM models.
8.4 KiB
8.4 KiB