mirror of
https://github.com/HKUDS/OpenSpace.git
synced 2026-09-05 08:06:05 +00:00
When the LLM returns a short tool name that doesn't match the deduped key in tool_map, the fallback scan correctly resolves tool_obj via schema.name. However the execution branch still checked `tool_name not in tool_map` and passed `tool_map[tool_name]`, so fallback-resolved tools were never executed. Change the condition to check `tool_obj is None` and pass `tool_obj` directly to _execute_tool_call. Closes #15 Made-with: Cursor |
||
|---|---|---|
| .. | ||
| agents | ||
| cloud | ||
| config | ||
| grounding | ||
| host_detection | ||
| host_skills | ||
| llm | ||
| local_server | ||
| platforms | ||
| prompts | ||
| recording | ||
| skill_engine | ||
| skills | ||
| utils | ||
| .env.example | ||
| __init__.py | ||
| __main__.py | ||
| dashboard_server.py | ||
| mcp_server.py | ||
| tool_layer.py | ||