GoogleThinking
Namespace: Vercel.AI.Google
public static class GoogleThinkingMaps the shared reasoning option onto Gemini thinking configuration.
Inheritance: object
Methods
Section titled “Methods”Resolve(string?, string, IList<GoogleWarning>)
Section titled “Resolve(string?, string, IList<GoogleWarning>)”public static JsonObject? Resolve(string? reasoning, string modelId, IList<GoogleWarning> warnings)Returns a thinkingConfig object, or null when reasoning is unset or provider-default.
Provider options are applied later and override these fields.
Parameters
| Name | Type | Description |
|---|---|---|
reasoning |
string | |
modelId |
string | |
warnings |
IList<GoogleWarning> |
Returns: JsonObject
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product