Skip to content
Tracon

GoogleProviderNames

Namespace Tracon · Assembly Tracon.Google.dll

Provider name registered by the UseGoogle call, and the ModelBinding.ProviderSettings keys.

public static class GoogleProviderNames
Inheritance
object ← GoogleProviderNames
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

These names are stable. Agent definitions are stored in the database with these names; changing them breaks stored definitions.

The name is google, not gemini: the same package may cover Vertex AI in the future and must not be locked to the model family’s name.

Provider using the Gemini Developer API: google.

public const string Google = "google"

string

Civic integrity threshold: google.safety.civicIntegrity (text).

public const string SafetyCivicIntegritySetting = "google.safety.civicIntegrity"

string

Dangerous content threshold: google.safety.dangerousContent (text).

public const string SafetyDangerousContentSetting = "google.safety.dangerousContent"

string

Harassment threshold: google.safety.harassment (text).

public const string SafetyHarassmentSetting = "google.safety.harassment"

string

Hate speech threshold: google.safety.hateSpeech (text).

public const string SafetyHateSpeechSetting = "google.safety.hateSpeech"

string

Sexually explicit content threshold: google.safety.sexuallyExplicit (text).

public const string SafetySexuallyExplicitSetting = "google.safety.sexuallyExplicit"

string

Prefix for provider-specific settings: google.

public const string SettingsPrefix = "google"

string

Thinking budget: google.thinking.budgetTokens (integer).

public const string ThinkingBudgetTokensSetting = "google.thinking.budgetTokens"

string

The valid range is [-1, 65535]; -1 means “leave it to the model” and 0 turns thinking off. An out-of-range value causes the request to be rejected — measured against the live API.

Whether the thinking summary is returned in the response: google.thinking.includeThoughts (boolean).

public const string ThinkingIncludeThoughtsSetting = "google.thinking.includeThoughts"

string

All setting keys this provider supports.

public static IReadOnlyList<string> SupportedSettings { get; }

IReadOnlyList<string>

A key absent from this list is not silently ignored; it raises a compile error, and the error message prints this list.