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: internal error when user is none in service api call (#129)
John Wangb42cd38cc990
diff --git a/api/core/conversation_message_task.py b/api/core/conversation_message_task.pyindex 81477533e74..0c2e9983cea 100644--- a/api/core/conversation_message_task.py+++ b/api/core/conversation_message_task.py@@ -281,6 +281,9 @@ class PubHandler:@classmethoddef generate_channel_name(cls, user: Union[Account | EndUser], task_id: str):+ if not user:+ raise ValueError("user is required")+user_str = 'account-' + user.id if isinstance(user, Account) else 'end-user-' + user.idreturn "generate_result:{}-{}".format(user_str, task_id)