agent-ecosystem/test/renderer/utils/teamModelCatalog.test.ts
777genius ac1c99ac1f feat(cliInstaller): add model verification for providers
- Introduced CLI_INSTALLER_VERIFY_PROVIDER_MODELS IPC channel for on-demand model verification.
- Implemented handler for verifying provider models in the CliInstallerService.
- Enhanced CLI installation status management with model verification state and availability.
- Updated related components to support model verification feedback in the UI.
2026-04-16 19:41:23 +03:00

26 lines
651 B
TypeScript

import { describe, expect, it } from 'vitest';
import { getVisibleTeamProviderModels } from '@renderer/utils/teamModelCatalog';
describe('teamModelCatalog', () => {
it('filters UI-disabled Codex models from provider badge lists', () => {
expect(
getVisibleTeamProviderModels('codex', [
'gpt-5.4',
'gpt-5.4-mini',
'gpt-5.3-codex',
'gpt-5.3-codex-spark',
'gpt-5.2',
'gpt-5.2-codex',
'gpt-5.1-codex-mini',
'gpt-5.1-codex-max',
])
).toEqual([
'gpt-5.4',
'gpt-5.4-mini',
'gpt-5.3-codex',
'gpt-5.2',
'gpt-5.1-codex-max',
]);
});
});