AiConfigDescription class

A non-secret summary of the resolved AI configuration, used by omnyshell ai show to report settings and where each value came from. The API key is never included — only keySet and keyFromEnv.

Constructors

AiConfigDescription({required String path, required bool fileExists, required AiProviderKind? provider, required bool providerFromEnv, required String? model, required bool modelFromEnv, required bool modelFromDefault, required String? plannerModel, required bool plannerFromDefault, required String? executorModel, required String? explainerModel, required AgentMode mode, required String? language, required String? baseUrl, required int maxSteps, required bool keySet, required bool keyFromEnv, required String? keyEnvVar})
const

Properties

baseUrl String?
final
executorModel String?
final
explainerModel String?
The command-explain model override; null means it uses model.
final
fileExists bool
final
hashCode int
The hash code for this object.
no setterinherited
keyEnvVar String?
The provider's API-key environment variable (e.g. ANTHROPIC_API_KEY), or null when no provider is resolved.
final
keyFromEnv bool
final
keySet bool
Whether an API key is available (env or file).
final
language String?
The agent's reply language (free-form), or null when unset.
final
maxSteps int
final
mode AgentMode
final
model String?
final
modelFromDefault bool
Whether model is the built-in per-provider default (not set by the user in env or ai.yaml).
final
modelFromEnv bool
final
path String
final
plannerFromDefault bool
Whether plannerModel is the built-in per-provider default (not set by the user in ai.yaml).
final
plannerModel String?
Per-phase model overrides; null means the phase uses model.
final
provider AiProviderKind?
null when no provider is configured anywhere.
final
providerFromEnv bool
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