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: first agent latency (#2334)
Yeuoly3b357f51a6dd
diff --git a/api/core/features/assistant_fc_runner.py b/api/core/features/assistant_fc_runner.pyindex 08c49f99219..3528091d63e 100644--- a/api/core/features/assistant_fc_runner.py+++ b/api/core/features/assistant_fc_runner.py@@ -97,7 +97,6 @@ class AssistantFunctionCallApplicationRunner(BaseAssistantApplicationRunner):tool_input='',messages_ids=message_file_ids)- self.queue_manager.publish_agent_thought(agent_thought, PublishFrom.APPLICATION_MANAGER)# recale llm max tokensself.recale_llm_max_tokens(self.model_config, prompt_messages)@@ -124,7 +123,11 @@ class AssistantFunctionCallApplicationRunner(BaseAssistantApplicationRunner):current_llm_usage = Noneif self.stream_tool_call:+ is_first_chunk = Truefor chunk in chunks:+ if is_first_chunk:+ self.queue_manager.publish_agent_thought(agent_thought, PublishFrom.APPLICATION_MANAGER)+ is_first_chunk = False# check if there is any tool callif self.check_tool_calls(chunk):function_call_state = True@@ -183,6 +186,8 @@ class AssistantFunctionCallApplicationRunner(BaseAssistantApplicationRunner):if not result.message.content:result.message.content = ''+ self.queue_manager.publish_agent_thought(agent_thought, PublishFrom.APPLICATION_MANAGER)+yield LLMResultChunk(model=model_instance.model,prompt_messages=result.prompt_messages,