test(opencode): cover catalog-backed selection
This commit is contained in:
parent
3b120e74c7
commit
c88a11c1d8
1 changed files with 4 additions and 0 deletions
|
|
@ -328,6 +328,10 @@ describe('teamModelAvailability', () => {
|
|||
availabilityReason: null,
|
||||
},
|
||||
]);
|
||||
expect(normalizeTeamModelForUi('opencode', 'openai/gpt-5.4', providerStatus)).toBe(
|
||||
'openai/gpt-5.4'
|
||||
);
|
||||
expect(getTeamModelSelectionError('opencode', 'openai/gpt-5.4', providerStatus)).toBeNull();
|
||||
});
|
||||
|
||||
it('reports OpenCode openai routes unavailable when OpenAI auth is invalid', () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue