Merge branch 'MCP-setup' of https://gitea.fhgr.ch/meulilivio/AISE1_Project into MCP-setup

This commit is contained in:
Irina Rueegg 2026-05-22 14:55:19 +02:00
commit 541735fdd6

View File

@ -70,6 +70,7 @@ async def dispatch_tool(tool_name: str, arguments: dict) -> str:
return f"DONE: {summary}" return f"DONE: {summary}"
try: try:
print(f"Trying to call tool '{tool_name}' with arguments: {arguments}")
print(f"Trying to call tool '{tool_name}' in dispatch_tool through MCPToolAdapter...") print(f"Trying to call tool '{tool_name}' in dispatch_tool through MCPToolAdapter...")
result = await adapter.call_tool(tool_name, arguments) result = await adapter.call_tool(tool_name, arguments)