sync update from LAN repo (source master @ ca48c4ec)
This commit is contained in:
1 parent
8bc8b0e082
commit
ea9dcff9c0
873 files changed
+107866
-14011
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(
|
||||
|
||||
Reference in new issue
Block a user