Stop instructing LLM to not pass the domain as a list (#118590)
This commit is contained in:
parent
3232fd0eaf
commit
dfb407728f
2 changed files with 0 additions and 2 deletions
|
@ -254,7 +254,6 @@ class AssistAPI(API):
|
||||||
prompt = [
|
prompt = [
|
||||||
(
|
(
|
||||||
"When controlling Home Assistant always call the intent tools. "
|
"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. "
|
"Use HassTurnOn to lock and HassTurnOff to unlock a lock. "
|
||||||
"When controlling a device, prefer passing just its name and its domain "
|
"When controlling a device, prefer passing just its name and its domain "
|
||||||
"(what comes before the dot in its entity id). "
|
"(what comes before the dot in its entity id). "
|
||||||
|
|
|
@ -421,7 +421,6 @@ async def test_assist_api_prompt(
|
||||||
)
|
)
|
||||||
first_part_prompt = (
|
first_part_prompt = (
|
||||||
"When controlling Home Assistant always call the intent tools. "
|
"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. "
|
"Use HassTurnOn to lock and HassTurnOff to unlock a lock. "
|
||||||
"When controlling a device, prefer passing just its name and its domain "
|
"When controlling a device, prefer passing just its name and its domain "
|
||||||
"(what comes before the dot in its entity id). "
|
"(what comes before the dot in its entity id). "
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue