mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-15 12:13:59 +00:00
fix(cliproxy): harden routing prefix sync and UI pinning
This commit is contained in:
1 parent
b8a8f84153
commit
0c10cb6f47
13 files changed
+260
-59
No files matched your search
@@ -30,6 +30,7 @@ describe('cliproxy model routing hints', () => {
|
||||
|
||||
expect(routing.gemini?.models[0]).toMatchObject({
|
||||
recommendedModelId: 'gcli/gemini-3-flash-preview',
|
||||
pinnedAvailable: false,
|
||||
unprefixedStatus: 'shadowed',
|
||||
effectiveProvider: 'agy',
|
||||
effectiveDisplayName: 'Antigravity',
|
||||
@@ -37,6 +38,7 @@ describe('cliproxy model routing hints', () => {
|
||||
|
||||
expect(routing.agy?.models[0]).toMatchObject({
|
||||
recommendedModelId: 'agy/gemini-3-flash',
|
||||
pinnedAvailable: false,
|
||||
unprefixedStatus: 'safe',
|
||||
effectiveProvider: 'agy',
|
||||
});
|
||||
@@ -57,6 +59,7 @@ describe('cliproxy model routing hints', () => {
|
||||
expect(routing.gemini?.prefixOnlyCount).toBe(1);
|
||||
expect(routing.gemini?.models[0]).toMatchObject({
|
||||
recommendedModelId: 'gcli/gemini-3.1-pro-preview',
|
||||
pinnedAvailable: false,
|
||||
unprefixedStatus: 'prefix-only',
|
||||
effectiveProvider: null,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user