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: max tokens can only up to 2048 (#2734)
Yeuoly3a3ca8e6a9a0
diff --git a/api/core/model_runtime/model_providers/xinference/llm/llm.py b/api/core/model_runtime/model_providers/xinference/llm/llm.pyindex ffb4a0328ce..602d0b749fc 100644--- a/api/core/model_runtime/model_providers/xinference/llm/llm.py+++ b/api/core/model_runtime/model_providers/xinference/llm/llm.py@@ -308,6 +308,7 @@ class XinferenceAILargeLanguageModel(LargeLanguageModel):type=ParameterType.INT,use_template='max_tokens',min=1,+ max=credentials.get('context_length', 2048),default=512,label=I18nObject(zh_Hans='最大生成长度',