We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 181c0e8 commit 5657ecaCopy full SHA for 5657eca
chat.go
@@ -309,6 +309,10 @@ type ChatCompletionRequest struct {
309
ChatTemplateKwargs map[string]any `json:"chat_template_kwargs,omitempty"`
310
// Specifies the latency tier to use for processing the request.
311
ServiceTier ServiceTier `json:"service_tier,omitempty"`
312
+ // Support Google VertexAI Gemini-specific parameters
313
+ // https://cloud.google.com/vertex-ai/generative-ai/docs/migrate/openai/overview#extra_body_features
314
+ ExtraBody map[string]any `json:"extra_body,omitempty"`
315
+ ExtraPart map[string]any `json:"extra_part,omitempty"`
316
}
317
318
type StreamOptions struct {
0 commit comments