HarnessOpenAiModelConfigDict¶
Dictionary Type¶
HarnessOpenAiModelConfigDict
¶
Bases: TypedDict
Dictionary form of HarnessOpenAiModelConfig.
Attributes¶
additional_params
instance-attribute
¶
Provider-specific parameters passed through to the model provider unchanged.
api_base
instance-attribute
¶
api_base: str | None
Optional custom endpoint URL for an OpenAI-compatible endpoint.
api_format
instance-attribute
¶
api_format: str | None
The API format to use when calling the OpenAI provider.
api_key_arn
instance-attribute
¶
The ARN of your OpenAI 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 model call.