mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-06 23:44:36 +00:00
When a user edits settings.json while pi is running (e.g., adding enabledModels), those settings would be lost when pi saved other changes (e.g., changing thinking level via Shift+Tab). The fix re-reads the file before saving and merges the current file contents with in-memory changes, so external edits are preserved. Adds test coverage for SettingsManager. |
||
|---|---|---|
| .. | ||
| cli | ||
| core | ||
| modes | ||
| utils | ||
| cli.ts | ||
| config.ts | ||
| index.ts | ||
| main.ts | ||
| migrations.ts | ||