mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Flip prompts to put user prompt on top (#118085)
This commit is contained in:
@@ -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,
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user