RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Fix multiple tags (#15931)
Wang Qi238a01d9e3d5
diff --git a/api/apps/services/provider_api_service.py b/api/apps/services/provider_api_service.pyindex 6098e9e354..d5290fcace 100644--- a/api/apps/services/provider_api_service.py+++ b/api/apps/services/provider_api_service.py@@ -643,7 +643,9 @@ def list_instance_models(tenant_id: str, provider_name: str, instance_name: str,for llm in llms:models.append({"name": llm["llm_name"],- "model_type": _factory_model_types(llm) + model_info_map.get(llm["llm_name"], {}).get("model_type", []),+ "model_type": list(+ dict.fromkeys(_factory_model_types(llm) + model_info_map.get(llm["llm_name"], {}).get("model_type", []))+ ),"max_tokens": llm.get("max_tokens"),"status": model_info_map.get(llm["llm_name"], {}).get("status", "active"),})