Ask LLM to pass area name and domain (#118357)

This commit is contained in:
tronikos
2024-05-29 05:03:43 -07:00
committed by GitHub
parent c75cb08aae
commit 4056c4c2cc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -250,7 +250,7 @@ class AssistAPI(API):
prompt = [
(
"Call the intent tools to control Home Assistant. "
"When controlling an area, prefer passing area name."
"When controlling an area, prefer passing area name and domain."
)
]
area: ar.AreaEntry | None = None
+1 -1
View File
@@ -423,7 +423,7 @@ async def test_assist_api_prompt(
)
first_part_prompt = (
"Call the intent tools to control Home Assistant. "
"When controlling an area, prefer passing area name."
"When controlling an area, prefer passing area name and domain."
)
no_timer_prompt = "This device does not support timers."