AiConfigResponse class final
Hub → Client: the Hub's default AI configuration. Never carries an API key — the key stays on the Hub and is injected when proxying. available is false when the Hub has no AI provider configured. Correlated by requestId.
- Inheritance
-
- Object
- ControlMessage
- AiConfigResponse
Constructors
Properties
- available → bool
-
Whether the Hub has a usable default provider+key configured.
final
- baseUrl → String?
-
Optional API base-URL override.
final
- channelId → int?
-
The channel this message pertains to, or
nullfor connection-level messages (the envelopecfield).no setterinherited - executorModel → String?
-
Optional executor model override.
final
- explainerModel → String?
-
Optional explainer model override.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- language → String?
-
The default reply language, or
null.final - mode → String?
-
The default agent mode token (e.g.
plan), ornull.final - model → String?
-
The default shared model id, or
nullwhen unavailable.final - plannerModel → String?
-
Optional planner model override.
final
- provider → String?
-
The default provider token (e.g.
anthropic), ornullwhen unavailable.final - requestId → String
-
The correlation id from the request.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
The stable type discriminator (the envelope
tfield).no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
The message payload (the envelope
dfield), without the type or channel.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
int? channel, Map< String, dynamic> d) → AiConfigResponse - Decodes an AiConfigResponse.