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
feat: adjust hf max tokens (#979)
takatost9b247fccd48f
diff --git a/api/core/model_providers/providers/huggingface_hub_provider.py b/api/core/model_providers/providers/huggingface_hub_provider.pyindex 0c638a4e6bd..01058311364 100644--- a/api/core/model_providers/providers/huggingface_hub_provider.py+++ b/api/core/model_providers/providers/huggingface_hub_provider.py@@ -51,7 +51,7 @@ class HuggingfaceHubProvider(BaseModelProvider):top_p=KwargRule[float](min=0.01, max=0.99, default=0.7),presence_penalty=KwargRule[float](enabled=False),frequency_penalty=KwargRule[float](enabled=False),- max_tokens=KwargRule[int](alias='max_new_tokens', min=10, max=1500, default=200),+ max_tokens=KwargRule[int](alias='max_new_tokens', min=10, max=4000, default=200),)@classmethod