mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 00:37:53 +00:00
Stop instructing LLM to not pass the domain as a list (#118590)
This commit is contained in:
parent
1a588760b9
commit
4df3d43e45
@ -254,7 +254,6 @@ class AssistAPI(API):
|
||||
prompt = [
|
||||
(
|
||||
"When controlling Home Assistant always call the intent tools. "
|
||||
"Do not pass the domain to the intent tools as a list. "
|
||||
"Use HassTurnOn to lock and HassTurnOff to unlock a lock. "
|
||||
"When controlling a device, prefer passing just its name and its domain "
|
||||
"(what comes before the dot in its entity id). "
|
||||
|
@ -421,7 +421,6 @@ async def test_assist_api_prompt(
|
||||
)
|
||||
first_part_prompt = (
|
||||
"When controlling Home Assistant always call the intent tools. "
|
||||
"Do not pass the domain to the intent tools as a list. "
|
||||
"Use HassTurnOn to lock and HassTurnOff to unlock a lock. "
|
||||
"When controlling a device, prefer passing just its name and its domain "
|
||||
"(what comes before the dot in its entity id). "
|
||||
|
Loading…
x
Reference in New Issue
Block a user