Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: align provider mode migration expectations

[._.]/ Adam Eivyeb7b021a3281
diff --git a/scripts/migrations/355-unify-provider-modes.test.js b/scripts/migrations/355-unify-provider-modes.test.js
index c3d9bc36e5..48554d1019 100644
--- a/scripts/migrations/355-unify-provider-modes.test.js
+++ b/scripts/migrations/355-unify-provider-modes.test.js
@@ -26,7 +26,12 @@ it('unifies either-enabled siblings, preserves execution pins and separate conne
expect(result.activeProvider).toBe('first-tui');
for (const stem of ['first', 'second', 'off']) {
for (const id of [stem, `${stem}-tui`]) {
- expect(result.providers[id]).toEqual({ ...before[id], enabled: stem !== 'off', models: ['model-a', 'model-b'] });
+ expect(result.providers[id]).toEqual({
+ ...before[id],
+ enabled: stem !== 'off',
+ models: ['model-a', 'model-b'],
+ defaultModel: 'model-a',
+ });
}
}
for (const id of ['remote', 'remote-tui', 'custom', 'custom-tui']) expect(result.providers[id]).toEqual(before[id]);