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
Feature/add new models for token pony and bug fix for use llm (#10823)
纷繁下的无奈84d1ffe44c91
diff --git a/conf/llm_factories.json b/conf/llm_factories.jsonindex 4ae2b77158..0d8c11035f 100644--- a/conf/llm_factories.json+++ b/conf/llm_factories.json@@ -227,8 +227,8 @@"llm": [{"llm_name": "qwen3-8b",- "tags": "LLM,CHAT,131k",- "max_tokens": 131000,+ "tags": "LLM,CHAT,128k",+ "max_tokens": 128000,"model_type": "chat","is_tools": true},@@ -241,15 +241,15 @@},{"llm_name": "qwen3-32b",- "tags": "LLM,CHAT,131k",- "max_tokens": 131000,+ "tags": "LLM,CHAT,128k",+ "max_tokens": 128000,"model_type": "chat","is_tools": true},{- "llm_name": "kimi-k2-instruct",- "tags": "LLM,CHAT,128K",- "max_tokens": 128000,+ "llm_name": "kimi-k2-instruct-0905",+ "tags": "LLM,CHAT,256K",+ "max_tokens": 256000,"model_type": "chat","is_tools": true},@@ -280,6 +280,48 @@"max_tokens": 128000,"model_type": "chat","is_tools": true+ },+ {+ "llm_name": "hunyuan-a13b-instruct",+ "tags": "LLM,CHAT,256k",+ "max_tokens": 256000,+ "model_type": "chat",+ "is_tools": true+ },+ {+ "llm_name": "qwen3-next-80b-a3b-instruct",+ "tags": "LLM,CHAT,1024k",+ "max_tokens": 1024000,+ "model_type": "chat",+ "is_tools": true+ },+ {+ "llm_name": "deepseek-v3.2-exp",+ "tags": "LLM,CHAT,128k",+ "max_tokens": 128000,+ "model_type": "chat",+ "is_tools": true+ },+ {+ "llm_name": "deepseek-v3.1-terminus",+ "tags": "LLM,CHAT,128k",+ "max_tokens": 128000,+ "model_type": "chat",+ "is_tools": true+ },+ {+ "llm_name": "qwen3-vl-235b-a22b-instruct",+ "tags": "LLM,CHAT,262k",+ "max_tokens": 262000,+ "model_type": "chat",+ "is_tools": true+ },+ {+ "llm_name": "qwen3-vl-30b-a3b-instruct",+ "tags": "LLM,CHAT,262k",+ "max_tokens": 262000,+ "model_type": "chat",+ "is_tools": true}]},diff --git a/rag/llm/chat_model.py b/rag/llm/chat_model.pyindex 8ca38c8935..cd22e76ec9 100644--- a/rag/llm/chat_model.py+++ b/rag/llm/chat_model.py@@ -1363,6 +1363,8 @@ class TokenPonyChat(Base):def __init__(self, key, model_name, base_url="https://ragflow.vip-api.tokenpony.cn/v1", **kwargs):if not base_url:base_url = "https://ragflow.vip-api.tokenpony.cn/v1"+ super().__init__(key, model_name, base_url, **kwargs)+class DeerAPIChat(Base):_FACTORY_NAME = "DeerAPI"