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 type get wrong (#2403)
takatost42344795cd00
diff --git a/api/core/app_runner/generate_task_pipeline.py b/api/core/app_runner/generate_task_pipeline.pyindex 8a7e6f457a0..ea54e709e12 100644--- a/api/core/app_runner/generate_task_pipeline.py+++ b/api/core/app_runner/generate_task_pipeline.py@@ -477,7 +477,11 @@ class GenerateTaskPipeline:}# Determine the response based on the type of exception- data = error_responses.get(type(e))+ data = None+ for k, v in error_responses.items():+ if isinstance(e, k):+ data = v+if data:data.setdefault('message', getattr(e, 'description', str(e)))else:diff --git a/api/core/hosting_configuration.py b/api/core/hosting_configuration.pyindex b2917682dc9..ea93c5336c2 100644--- a/api/core/hosting_configuration.py+++ b/api/core/hosting_configuration.py@@ -123,7 +123,6 @@ class HostingConfiguration:restrict_models=[RestrictModel(model="gpt-4", model_type=ModelType.LLM),RestrictModel(model="gpt-4-turbo-preview", model_type=ModelType.LLM),- RestrictModel(model="gpt-4-32k", model_type=ModelType.LLM),RestrictModel(model="gpt-4-1106-preview", model_type=ModelType.LLM),RestrictModel(model="gpt-4-0125-preview", model_type=ModelType.LLM),RestrictModel(model="gpt-3.5-turbo", model_type=ModelType.LLM),