diff --git a/frontend/src/views/admin/ChannelsView.vue b/frontend/src/views/admin/ChannelsView.vue index a65dc0a2d0..e9ea1c11f4 100644 --- a/frontend/src/views/admin/ChannelsView.vue +++ b/frontend/src/views/admin/ChannelsView.vue @@ -765,8 +765,8 @@ let abortController: AbortController | null = null // ── Platform config ── const platformOrder: GroupPlatform[] = ['anthropic', 'openai', 'gemini', 'antigravity', 'grok', 'kimi', 'zhipu', 'deepseek', 'minimax', 'opencode_go', 'typesafe', 'ollama_cloud'] // Composite pricing/mapping may target every concrete schedulable provider. -// (Backend isConcreteRequestPlatform includes ollama_cloud.) -const compositePlatforms: GroupPlatform[] = ['anthropic', 'openai', 'gemini', 'antigravity', 'grok', 'kimi', 'zhipu', 'deepseek', 'minimax', 'opencode_go', 'ollama_cloud'] +// (Backend isConcreteRequestPlatform includes typesafe and ollama_cloud.) +const compositePlatforms: GroupPlatform[] = ['anthropic', 'openai', 'gemini', 'antigravity', 'grok', 'kimi', 'zhipu', 'deepseek', 'minimax', 'opencode_go', 'typesafe', 'ollama_cloud'] // ── Helpers ── function formatDate(value: string): string { diff --git a/frontend/src/views/admin/__tests__/channelPlatformOptions.spec.ts b/frontend/src/views/admin/__tests__/channelPlatformOptions.spec.ts index dc1641eda2..fb494d2258 100644 --- a/frontend/src/views/admin/__tests__/channelPlatformOptions.spec.ts +++ b/frontend/src/views/admin/__tests__/channelPlatformOptions.spec.ts @@ -12,6 +12,7 @@ describe('Composite channel platform options', () => { expect(declaration).toContain("'deepseek'") expect(declaration).toContain("'minimax'") expect(declaration).toContain("'opencode_go'") + expect(declaration).toContain("'typesafe'") expect(declaration).toContain("'ollama_cloud'") }) })