fix: update text handling to ensure nil checks and pointer usage for message content

This commit is contained in:
Laisky.Cai
2025-03-17 03:31:43 +00:00
parent 34c7523f01
commit d236477531
5 changed files with 13 additions and 9 deletions

View File

@@ -20,7 +20,7 @@ var ModelsSupportSystemInstruction = []string{
"gemini-2.0-flash", "gemini-2.0-flash-exp",
"gemini-2.0-flash-thinking-exp-01-21",
"gemini-2.0-flash-lite",
"gemini-2.0-flash-exp-image-generation",
// "gemini-2.0-flash-exp-image-generation",
"gemini-2.0-pro-exp-02-05",
}