Partially revert "LLM Tool parameters check (#123621)" (#129064)

pull/129141/head
tronikos 2024-10-25 02:23:34 -07:00 committed by GitHub
parent c9d0bfce54
commit 267e1dd0f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 5 deletions

View File

@ -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)