add is alias and fix bug report template

This commit is contained in:
Alex O'Connell
2024-06-08 14:31:05 -04:00
parent 42a2014963
commit 127ea425f7
2 changed files with 11 additions and 3 deletions

View File

@@ -7,7 +7,13 @@ assignees: ''
---
***Please do not report issues with the model generating incorrect output. This includes any instance where the model responds with `Failed to run: ...` or outputs badly formatted responses. If you are having trouble getting the correct output from the model, please open a Discussion thread instead.***
<!--
Please do not report issues with the model generating incorrect output. This includes any instance where the model responds with `Failed to run: ...` or outputs badly formatted responses. If you are having trouble getting the correct output from the model, please open a Discussion thread instead.
If you recently updated Home Assistant to a newly released version, please indicate that in your report.
-->
**Describe the bug**
A clear and concise description of what the bug is.

View File

@@ -672,7 +672,8 @@ class LocalLLMAgent(AbstractConversationAgent):
"state": state,
"attributes": exposed_attributes,
"area_name": attributes.get("area_name"),
"area_id": attributes.get("area_id")
"area_id": attributes.get("area_id"),
"is_alias": False
})
if "aliases" in attributes:
for alias in attributes["aliases"]:
@@ -683,7 +684,8 @@ class LocalLLMAgent(AbstractConversationAgent):
"state": state,
"attributes": exposed_attributes,
"area_name": attributes.get("area_name"),
"area_id": attributes.get("area_id")
"area_id": attributes.get("area_id"),
"is_alias": True
})
if llm_api: