Skip to content

Commit c1dcd94

Browse files
committed
support MCP tool
1 parent 23e611b commit c1dcd94

File tree

1 file changed

+1
-1
lines changed
  • src/agentscope_runtime/adapters/agentscope

1 file changed

+1
-1
lines changed

src/agentscope_runtime/adapters/agentscope/stream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ async def adapt_agentscope_message_stream(
362362
] = plugin_call_message
363363

364364
elif element.get("type") == "tool_result": # Tool result
365-
call_id = element.get("call_id")
365+
call_id = element.get("id")
366366

367367
plugin_call_message = tool_use_messages_dict.get(
368368
call_id,

0 commit comments

Comments
 (0)