Flip prompts to put user prompt on top (#118085)

This commit is contained in:
Paulus Schoutsen
2024-05-25 00:33:24 -04:00
committed by GitHub
parent 69f237fa9e
commit 81f3387d06
3 changed files with 6 additions and 6 deletions

View File

@@ -224,7 +224,6 @@ class GoogleGenerativeAIConversationEntity(
prompt = "\n".join(
(
api_prompt,
template.Template(
self.entry.options.get(CONF_PROMPT, DEFAULT_PROMPT), self.hass
).async_render(
@@ -233,6 +232,7 @@ class GoogleGenerativeAIConversationEntity(
},
parse_result=False,
),
api_prompt,
)
)