HubAiConfig class

The Hub's advertised default AI configuration, returned by ClientRuntime.fetchHubAiConfig. Never carries an API key — the key stays on the Hub. available is false when the Hub has no default provider.

Constructors

HubAiConfig({required bool available, String? provider, String? model, String? plannerModel, String? executorModel, String? explainerModel, String? baseUrl, String? mode, String? language})
Creates a Hub AI config snapshot.
const

Properties

available → bool
Whether the Hub has a usable default provider+key configured.
final
baseUrl → String?
Optional API base-URL override.
final
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), or null.
final
model → String?
The default shared model id, or null.
final
plannerModel → String?
Optional planner model override.
final
provider → String?
The default provider token (e.g. anthropic), or null.
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