diff --git a/pkg/provider/google/google.go b/pkg/provider/google/google.go index b6a827b..3e65f18 100644 --- a/pkg/provider/google/google.go +++ b/pkg/provider/google/google.go @@ -41,18 +41,11 @@ type Content struct { Parts []ContentPart `json:"parts"` } -type ThinkingConfig struct { - // Indicates whether to include thoughts in the response. If true, thoughts are returned - // only if the model supports thought and thoughts are available. - IncludeThoughts bool `json:"includeThoughts,omitempty"` -} - type GenerationConfig struct { MaxOutputTokens *int `json:"maxOutputTokens,omitempty"` Temperature *float32 `json:"temperature,omitempty"` TopP *float32 `json:"topP,omitempty"` TopK *int `json:"topK,omitempty"` - ThinkingConfig *ThinkingConfig `json:"thinkingConfig,omitempty"` } type GenerateContentRequest struct { @@ -249,9 +242,6 @@ func createGenerateContentRequest( MaxOutputTokens: ¶ms.MaxTokens, Temperature: ¶ms.Temperature, TopP: ¶ms.TopP, - ThinkingConfig: &ThinkingConfig{ - IncludeThoughts: true, - }, }, }