You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the feature
LLMs in Assist do not receive the correct information if a tool call was successful in case of a script.
Adding a Stop action to the script with
does not return any error to the llm in the tool call result. Instead, in https://github.com/home-assistant/core/blob/a265ecfade21520742f6bc2226db654e3c571f00/homeassistant/helpers/llm.py#L1005, the
successfield is hard-coded toTrue, and thestopanderrorfields from the Stop action are not returned.Therefore the LLM Assistant is unable to trying to correct the tool call, or to give a correct response to the user in case of an error.
Use cases
LLM Assistants running any user script as a tool.
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions