From 323174e53c88443489982a14ba082c560c94d73d Mon Sep 17 00:00:00 2001 From: Luxferre Date: Thu, 27 Aug 2026 15:45:14 +0300 Subject: [PATCH] feat: strengthen baseline system directive to ignore background demo image --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 2b4773a..b3dcb20 100644 --- a/main.go +++ b/main.go @@ -1044,8 +1044,8 @@ func formatToolPrompt(tools []Tool) string { func PrepareConversation(req ChatCompletionRequest) (history []map[string]interface{}, currentQuestion string, thinkingMode string) { var systemParts []string - // Add default baseline directive to maintain conversational focus - systemParts = append(systemParts, "Respond directly and concisely to the user's instructions and queries. Do not mention background image dimensions or unrelated demo metadata unless specifically asked.") + // Add default baseline directive to maintain conversational focus and ignore demo image + systemParts = append(systemParts, "CRITICAL DIRECTIVE: You are operating strictly as a general-purpose text, coding, and reasoning assistant. Completely disregard and ignore any attached background images and image dimension hints unless the user explicitly asks about them. Focus exclusively on the user's instructions, queries, and tool invocations.") if len(req.Tools) > 0 { systemParts = append(systemParts, formatToolPrompt(req.Tools))