Skip to content

HarnessGeminiModelConfigDict

Dictionary Type

HarnessGeminiModelConfigDict

Bases: TypedDict

Dictionary form of HarnessGeminiModelConfig.

Attributes

additional_params instance-attribute
additional_params: Document | None

Provider-specific parameters passed through to the Gemini model provider unchanged.

api_key_arn instance-attribute
api_key_arn: Required[str]

The ARN of your Gemini API key on AgentCore Identity.

max_tokens instance-attribute
max_tokens: int | None

The maximum number of tokens to allow in the generated response per iteration.

model_id instance-attribute
model_id: Required[str]

The Gemini model ID.

temperature instance-attribute
temperature: float | None

The temperature to set when calling the model.

top_k instance-attribute
top_k: int | None

The topK set when calling the model.

top_p instance-attribute
top_p: float | None

The topP set when calling the model.