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: tencent model in python conf (#17337)
Lynnff163764b3e1
diff --git a/api/db/services/task_service.py b/api/db/services/task_service.pyindex b10c87eeb8..8d4ecc0433 100644--- a/api/db/services/task_service.py+++ b/api/db/services/task_service.py@@ -399,7 +399,7 @@ class TaskService(CommonService):if os.environ.get("MACOS"):if info["progress_msg"]:- progress_msg = trim_header_by_lines(task.progress_msg + "\n" + info["progress_msg"], TASK_MAX_LOG_LENGTH)+ progress_msg = trim_header_by_lines((task.progress_msg or "") + "\n" + info["progress_msg"], TASK_MAX_LOG_LENGTH)cls.model.update(progress_msg=progress_msg).where(cls.model.id == id).execute()if "progress" in info:prog = info["progress"]@@ -407,7 +407,7 @@ class TaskService(CommonService):else:with DB.lock("update_progress", -1):if info["progress_msg"]:- progress_msg = trim_header_by_lines(task.progress_msg + "\n" + info["progress_msg"], TASK_MAX_LOG_LENGTH)+ progress_msg = trim_header_by_lines((task.progress_msg or "") + "\n" + info["progress_msg"], TASK_MAX_LOG_LENGTH)cls.model.update(progress_msg=progress_msg).where(cls.model.id == id).execute()if "progress" in info:prog = info["progress"]diff --git a/conf/llm_factories.json b/conf/llm_factories.jsonindex 5a91f32288..0f52ded6dc 100644--- a/conf/llm_factories.json+++ b/conf/llm_factories.json@@ -4933,41 +4933,102 @@"logo": "","tags": "LLM,IMAGE2TEXT","status": "1",- "url": "https://api.hunyuan.cloud.tencent.com/v1",+ "url": "https://tokenhub.tencentmaas.com/v1","llm": [{- "llm_name": "hunyuan-pro",- "tags": "LLM,CHAT,32k",+ "llm_name": "hy3",+ "max_tokens": 131072,+ "model_type": "chat"+ },+ {+ "llm_name": "hy3-preview",+ "max_tokens": 131072,+ "model_type": "chat"+ },+ {+ "llm_name": "kimi-k3",+ "max_tokens": 131072,+ "model_type": "chat"+ },+ {+ "llm_name": "kimi-k2.7-code-highspeed",+ "max_tokens": 131072,+ "model_type": "chat"+ },+ {+ "llm_name": "kimi-k2.7-code",+ "max_tokens": 131072,+ "model_type": "chat"+ },+ {+ "llm_name": "glm-5.2",+ "max_tokens": 131072,+ "model_type": "chat"+ },+ {+ "llm_name": "minimax-m3",+ "max_tokens": 131072,+ "model_type": "chat"+ },+ {+ "llm_name": "deepseek-v4-flash-202605",+ "max_tokens": 131072,+ "model_type": "chat"+ },+ {+ "llm_name": "deepseek-v4-pro-202606",+ "max_tokens": 131072,+ "model_type": "chat"+ },+ {+ "llm_name": "deepseek-v4-pro",+ "max_tokens": 131072,+ "model_type": "chat"+ },+ {+ "llm_name": "deepseek-v4-flash",+ "max_tokens": 131072,+ "model_type": "chat"+ },+ {+ "llm_name": "hy-mt2-pro",+ "max_tokens": 8192,+ "model_type": "chat"+ },+ {+ "llm_name": "hy-mt2-plus",+ "max_tokens": 8192,+ "model_type": "chat"+ },+ {+ "llm_name": "hy-mt2-lite",+ "max_tokens": 8192,+ "model_type": "chat"+ },+ {+ "llm_name": "hy-role","max_tokens": 32768,- "model_type": "chat",- "is_tools": true+ "model_type": "chat"},{- "llm_name": "hunyuan-standard",- "tags": "LLM,CHAT,32k",+ "llm_name": "hunyuan-role-latest","max_tokens": 32768,"model_type": "chat"},{- "llm_name": "hunyuan-standard-256K",- "tags": "LLM,CHAT,256k",- "max_tokens": 262144,+ "llm_name": "qwen3.5-flash",+ "max_tokens": 131072,"model_type": "chat"},{- "llm_name": "hunyuan-lite",- "tags": "LLM,CHAT,256k",- "max_tokens": 262144,+ "llm_name": "qwen3.5-plus",+ "max_tokens": 131072,"model_type": "chat"},{- "llm_name": "hunyuan-vision",- "tags": "LLM,IMAGE2TEXT,8k",- "max_tokens": 8192,- "model_type": [- "image2text",- "chat"- ]+ "llm_name": "glm-5.1",+ "max_tokens": 131072,+ "model_type": "chat"}]},@@ -7516,12 +7577,14 @@"logo": "","tags": "OCR","status": "1",- "llm": [{- "llm_name": "MinerU-model",- "tags": "OCR",- "max_tokens": 8192,- "model_type": "ocr"- }]+ "llm": [+ {+ "llm_name": "MinerU-model",+ "tags": "OCR",+ "max_tokens": 8192,+ "model_type": "ocr"+ }+ ]},{"name": "PaddleOCR",@@ -7529,24 +7592,28 @@"tags": "OCR","status": "1","url": "https://paddleocr.aistudio-app.com",- "llm": [{- "llm_name": "PaddleOCR-model",- "tags": "OCR",- "max_tokens": 8192,- "model_type": "ocr"- }]+ "llm": [+ {+ "llm_name": "PaddleOCR-model",+ "tags": "OCR",+ "max_tokens": 8192,+ "model_type": "ocr"+ }+ ]},{"name": "OpenDataLoader","logo": "","tags": "OCR","status": "1",- "llm": [{- "llm_name": "OpenDataLoader-model",- "tags": "OCR",- "max_tokens": 8192,- "model_type": "ocr"- }]+ "llm": [+ {+ "llm_name": "OpenDataLoader-model",+ "tags": "OCR",+ "max_tokens": 8192,+ "model_type": "ocr"+ }+ ]},{"name": "SoMark",@@ -7554,12 +7621,14 @@"tags": "OCR","status": "1","rank": "930",- "llm": [{- "llm_name": "SoMark-model",- "tags": "OCR",- "max_tokens": 8192,- "model_type": "ocr"- }]+ "llm": [+ {+ "llm_name": "SoMark-model",+ "tags": "OCR",+ "max_tokens": 8192,+ "model_type": "ocr"+ }+ ]},{"name": "n1n",