ConversationSettingsController
Category: Services
Source: conversation_settings_controller.dart
Enums
SettingsChangeOrigin
| Value | Description |
|---|---|
user | |
sessionRestore |
Classes
SettingsChangeResult
Constructor
dart
const SettingsChangeResult({required this.applied, required this.message})Properties
| Property | Type | Description |
|---|---|---|
applied | bool | |
message | String |
PreparedConversationSettings
Constructor
dart
const PreparedConversationSettings({
required this.config,
required this.llm,
this.warnings = const [],
})Properties
| Property | Type | Description |
|---|---|---|
config | GlueConfig | |
llm | LlmClient | |
warnings | List<String> |
ConversationSessionResumeResult
Constructor
dart
const ConversationSessionResumeResult({
required this.sessionResult,
this.warnings = const [],
})Properties
| Property | Type | Description |
|---|---|---|
sessionResult | SessionResumeResult | |
warnings | List<String> |
ConversationSettingsController
Coordinates the live model/reasoning selection and its two persistence targets: the active session snapshot and the user's conversation defaults.
Constructor
dart
ConversationSettingsController({
required this.configGetter,
required this.configSetter,
required this.modelIdSetter,
required this.agent,
required this.session,
required this.systemPrompt,
required this.configWriter,
this.ensureSession,
ConversationClientBuilder? clientBuilder,
})Properties
| Property | Type | Description |
|---|---|---|
agent | AgentCore | |
session | SessionManager | |
systemPrompt | String | |
configWriter | ConversationConfigWriter | |
current | GlueConfig? get | |
current | GlueConfig? get |
Methods
`SettingsChangeResult selectModel(
ModelRef model, {
required SettingsChangeOrigin origin,
String? displayName,
})`
`SettingsChangeResult setReasoning(
ReasoningConfig reasoning, {
required SettingsChangeOrigin origin,
})`