fix(routing): fall through to compatible node when built-in alias has no credentials

This commit is contained in:
2026-08-22 14:33:53 +07:00
parent bc9719fac7
commit 144dda2ac2
3 changed files with 114 additions and 32 deletions

View File

@@ -32,6 +32,7 @@ vi.mock("@/lib/localDb", () => ({
getComboByName: vi.fn(async () => null),
getModelAliases: vi.fn(async () => ({})),
getProviderNodes: vi.fn(async () => []),
getProviderConnections: vi.fn(async () => []),
}));
vi.mock("@/sse/utils/logger.js", () => ({ info: vi.fn(), warn: vi.fn(), error: vi.fn(), debug: vi.fn() }));