FolderModelState class final
The model/provider triple saved for one project folder.
Constructors
- FolderModelState({required String providerKind, required String modelId, required String? baseUrl, String? customProvider})
-
Creates a FolderModelState.
customProvideris the saved custom provider ENTRY NAME the triple came from (gh-1000): a restore pins that entry instead of re-matching by endpoint, so two entries sharing one endpoint+modelId restore onto the right account's key.const
Properties
- baseUrl → String?
-
The endpoint base URL (
nullfor catalog-default endpoints).final - customProvider → String?
-
The saved custom-provider entry name this triple came from, or null
when the state predates name pinning (gh-1000 AC4 — restored with
today's endpoint-keyed behavior).
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- modelId → String
-
The model id as shown in
/model.final - providerKind → String
-
The provider kind (e.g.
openai-completions,anthropic).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.
override