@@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
- Fixed `/reload` to apply updated `steeringMode` and `followUpMode` settings to the current session ([#5377](https://github.com/earendil-works/pi/issues/5377)).
|
||||||
- Fixed invalid `models.json` syntax to skip startup config migrations and report the normal file-path-aware models error instead of a raw JSON parse stack trace ([#5418](https://github.com/earendil-works/pi/issues/5418)).
|
- Fixed invalid `models.json` syntax to skip startup config migrations and report the normal file-path-aware models error instead of a raw JSON parse stack trace ([#5418](https://github.com/earendil-works/pi/issues/5418)).
|
||||||
- Fixed GitHub release notes and interactive changelog links to resolve package-relative documentation URLs correctly ([#5516](https://github.com/earendil-works/pi/issues/5516)).
|
- Fixed GitHub release notes and interactive changelog links to resolve package-relative documentation URLs correctly ([#5516](https://github.com/earendil-works/pi/issues/5516)).
|
||||||
|
|
||||||
|
|||||||
@@ -1606,6 +1606,11 @@ export class AgentSession {
|
|||||||
// Queue Mode Management
|
// Queue Mode Management
|
||||||
// =========================================================================
|
// =========================================================================
|
||||||
|
|
||||||
|
private syncQueueModesFromSettings(): void {
|
||||||
|
this.agent.steeringMode = this.settingsManager.getSteeringMode();
|
||||||
|
this.agent.followUpMode = this.settingsManager.getFollowUpMode();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set steering message mode.
|
* Set steering message mode.
|
||||||
* Saves to settings.
|
* Saves to settings.
|
||||||
@@ -2431,6 +2436,7 @@ export class AgentSession {
|
|||||||
const previousFlagValues = this._extensionRunner.getFlagValues();
|
const previousFlagValues = this._extensionRunner.getFlagValues();
|
||||||
await emitSessionShutdownEvent(this._extensionRunner, { type: "session_shutdown", reason: "reload" });
|
await emitSessionShutdownEvent(this._extensionRunner, { type: "session_shutdown", reason: "reload" });
|
||||||
await this.settingsManager.reload();
|
await this.settingsManager.reload();
|
||||||
|
this.syncQueueModesFromSettings();
|
||||||
resetApiProviders();
|
resetApiProviders();
|
||||||
await this._resourceLoader.reload();
|
await this._resourceLoader.reload();
|
||||||
this._buildRuntime({
|
this._buildRuntime({
|
||||||
|
|||||||
Reference in New Issue
Block a user