Fixed and improved the system prompt of chats started from assistants (#1172)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-06 17:44:58 +01:00
1 parent bbf4dc2231
commit 31862f5ecd
50 files changed
+1112 -107

No files matched your search

@@ -88,7 +88,16 @@ ASSISTANT = {
["ToolIds"] = {
"web_search",
},
-- Optional: the system prompt of a chat which continues the result of your assistant, when users
-- choose "Send to ..." -> "New Chat". "AI_STUDIO_DEFAULT" gives the default prompt of AI Studio,
-- also when the field is missing; "ASSISTANT" gives your SystemPrompt; "CUSTOM" gives the prompt
-- in CustomChatSystemPrompt, which you write for follow-up questions in the chat. AI Studio wraps
-- that prompt like your SystemPrompt, and the security audit checks it as well.
-- Requires AI Studio v26.11.1 or newer; older versions ignore both fields.
["ChatSystemPrompt"] = "CUSTOM",
["CustomChatSystemPrompt"] = "<role and context of your assistant, and that the model answers follow-up questions about the result>",
["UI"] = {
["Type"] = "FORM",
["Children"] = {