Skip to content

Commit 1aeabc4

Browse files
committed
fix: Mcp interrupt
1 parent 57d23ed commit 1aeabc4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/application/flow/tools.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,8 @@ async def _yield_mcp_response(chat_model, message_list, mcp_servers, mcp_output_
407407
checkpointer = MemorySaver()
408408
client = await _initialize_skills(mcp_servers, temp_dir)
409409
tools = await client.get_tools()
410+
for tool in tools:
411+
tool.handle_tool_error = True
410412
if extra_tools:
411413
for tool in extra_tools:
412414
tools.append(tool)

0 commit comments

Comments
 (0)