mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
parent
b9b129dcf5
commit
60c3e701e9
@ -177,11 +177,6 @@ class APIInstance:
|
||||
else:
|
||||
raise HomeAssistantError(f'Tool "{tool_input.tool_name}" not found')
|
||||
|
||||
tool_input = ToolInput(
|
||||
tool_name=tool_input.tool_name,
|
||||
tool_args=tool.parameters(tool_input.tool_args),
|
||||
)
|
||||
|
||||
return await tool.async_call(self.api.hass, tool_input, self.llm_context)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user