fix(router): align fallback semantics and oauth provider behavior

This commit is contained in:
William Valentin
2026-02-23 17:11:15 -08:00
parent 00b2d646f7
commit 092a9baeae
10 changed files with 118 additions and 32 deletions
+2 -2
View File
@@ -161,7 +161,7 @@ describe('createAgentHandlers command fast-path', () => {
runtimeConfig: {
models: {
default: { provider: 'anthropic', model: 'claude-sonnet-4' },
fallback_chain: ['anthropic'],
fallback_chain: [],
},
} as unknown as AgentHandlerDeps['runtimeConfig'],
});
@@ -199,7 +199,7 @@ describe('createAgentHandlers command fast-path', () => {
runtimeConfig: {
models: {
default: { provider: 'anthropic', model: 'claude-sonnet-4' },
fallback_chain: ['anthropic'],
fallback_chain: [],
},
} as unknown as AgentHandlerDeps['runtimeConfig'],
});