mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-10 18:43:41 +08:00
fix: update text handling to ensure nil checks and pointer usage for message content
This commit is contained in:
@@ -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",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user