Commit a78bbc0c by CalciumIon

fix: Correct JSON field name for SystemInstructions in GeminiChatRequest

- Updated the JSON field name from "system_instructions" to "system_instruction" to ensure consistency and accuracy in the data structure.
parent 4fbd5f8c
......@@ -5,7 +5,7 @@ type GeminiChatRequest struct {
SafetySettings []GeminiChatSafetySettings `json:"safety_settings,omitempty"`
GenerationConfig GeminiChatGenerationConfig `json:"generation_config,omitempty"`
Tools []GeminiChatTools `json:"tools,omitempty"`
SystemInstructions *GeminiPart `json:"system_instructions,omitempty"`
SystemInstructions *GeminiPart `json:"system_instruction,omitempty"`
}
type GeminiInlineData struct {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment