Skip to content

GoogleMessageOptions

Namespace: Vercel.AI.Google

public sealed class GoogleMessageOptions

Settings for converting a prompt into Gemini contents.

Inheritance: object

View source

public bool IncludeFunctionCallIds { get; set; }

When false, function call and response ids are omitted. Vertex omits them.

Value: bool

View source

public bool? IsGemini3Model { get; set; }

When true, unsigned Gemini 3 function calls receive the documented skip sentinel.

Value: bool?

View source

public bool? IsGemmaModel { get; set; }

When true, system text is prepended to the first user turn and systemInstruction is omitted.

Value: bool?

View source

public string ModelId { get; set; }

Model id used to detect Gemma and Gemini 3 behavior when the flags below are left unset.

Value: string

View source

public IReadOnlyList<string> ProviderOptionNames { get; set; }

Provider-option namespaces, in precedence order.

Value: IReadOnlyList<string>

View source

public bool? SupportsFunctionResponseParts { get; set; }

When true, multimodal tool results use functionResponse.parts.

Value: bool?

View source

public List<GoogleWarning> Warnings { get; }

Warnings produced while converting.

Value: List<GoogleWarning>

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product