Stop instructing LLM to not pass the domain as a list (#118590)

This commit is contained in:
tronikos 2024-05-31 17:21:18 -07:00 committed by Paulus Schoutsen
parent 1a588760b9
commit 4df3d43e45
2 changed files with 0 additions and 2 deletions

View File

@ -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). "

View File

@ -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). "