Skip to content

Commit

Permalink
Partially revert "LLM Tool parameters check (#123621)" (#129064)
Browse files Browse the repository at this point in the history
  • Loading branch information
tronikos authored and frenck committed Oct 25, 2024
1 parent b9b129d commit 60c3e70
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions homeassistant/helpers/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,6 @@ async def async_call_tool(self, tool_input: ToolInput) -> JsonObjectType:
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)


Expand Down

0 comments on commit 60c3e70

Please sign in to comment.