OpenSpace/openspace/llm
xzq.xu f89ea89ffb fix: use resolved tool_obj for fallback tool execution
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
2026-04-03 23:10:28 +08:00
..
__init__.py initial commit 2026-03-24 16:03:22 +08:00
client.py fix: use resolved tool_obj for fallback tool execution 2026-04-03 23:10:28 +08:00