Skip to main content

When to use this

  • You need to forward generationConfig, thinkingConfig, or modality settings
  • Your unified layer should still preserve Google-specific capabilities

Example

cURL example

Python example

Node.js example

Best practices

  • Validate nested config objects before passthrough
  • Record both model name and extension parameters for regression tracking