Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix error when use farui-plus model (#7316)
噢哎哟喂6fdbc7dbf315
diff --git a/api/core/model_runtime/model_providers/tongyi/llm/llm.py b/api/core/model_runtime/model_providers/tongyi/llm/llm.pyindex a75db78d8ce..4e1bb0a5a4f 100644--- a/api/core/model_runtime/model_providers/tongyi/llm/llm.py+++ b/api/core/model_runtime/model_providers/tongyi/llm/llm.py@@ -159,6 +159,8 @@ You should also complete the text started with ``` but not tell ``` directly."""if model in ['qwen-turbo-chat', 'qwen-plus-chat']:model = model.replace('-chat', '')+ if model == 'farui-plus':+ model = 'qwen-farui-plus'if model in self.tokenizers:tokenizer = self.tokenizers[model]