sync update from LAN repo (source dhk-1 @ 3b1ec5b4)

This commit is contained in:
gozeros committed 2026-11-05 10:56:34 +08:00
1 parent da6521b6cb
commit 264e2200d6
995 files changed
+148105 -13399

No files matched your search

@@ -19,6 +19,7 @@ from typing import Any
from langchain_core.messages import AIMessage, ToolMessage
from deerflow.runtime.runs.worker import build_agent_with_timing
from deerflow.utils.tool_visibility import (
internal_tool_call_ids,
is_internal_tool_name,
@@ -191,7 +192,7 @@ class WorkflowAgentRunner:
}
try:
agent = make_lead_agent(config)
agent = await build_agent_with_timing(make_lead_agent, config, None, thread_id)
except Exception as exc: # noqa: BLE001
logger.warning("failed to build agent %s for workflow node %s", agent_id, node_id, exc_info=True)
raise WorkflowError(