InspectImageConfig class final
Configuration for the inspectImageTool vision model.
Constructors
Properties
- apiKey → String
-
API key for the vision provider.
final
- baseUrl → String?
-
Optional base URL. When omitted the provider's default is used
(OpenAI: https://api.openai.com/v1, Copilot:
https://api.githubcopilot.com).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpClient → Client?
-
Optional HTTP client for testing.
final
- maxTokens → int
-
Maximum tokens for the vision description.
final
- modelId → String
-
Vision model id, e.g.
gpt-4ooropenai/gpt-4o.final - providerKind → String
-
Provider adapter kind.
openai-completions(OpenAI, OpenRouter, and any OpenAI-compatible endpoint) andcopilot(GitHub token exchanged for the short-lived Copilot API token via streamCopilot) are supported today.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited