Interface GoogleModelDescription

interface GoogleModelDescription {
    apiKey: undefined | string | true;
    enableStreaming: boolean;
    id: string;
    maxTokens?: number;
    model: string;
}

Properties

apiKey: undefined | string | true

The key for the model. If 'true' is provided the global Gemini API key will be used.

enableStreaming: boolean

Indicate whether the streaming API shall be used.

id: string

The identifier of the model which will be shown in the UI.

maxTokens?: number

Maximum number of tokens to generate. Default is 4096.

model: string

The model ID as used by the Google Gemini API.