chore: update FUN-Codex and FUN-Claude provider models (#522)

FUN-Codex: add GPT models (5.5, 5.4, 5.4-mini, 5.3-codex, 5.3-codex-spark)
FUN-Claude: replace with actual Claude models from API (opus-4-7 down to 3-5-haiku)

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
ekko
2026-05-07 22:16:52 +08:00
committed by GitHub
parent 2a390e96b9
commit 53dbe4b2b5
18 changed files with 112 additions and 13 deletions
+27
View File
@@ -9,9 +9,36 @@ export interface ProviderPreset {
base_url: string
models: string[]
builtin: boolean
api_mode?: 'openai' | 'anthropic' | 'anthropic_messages'
}
export const PROVIDER_PRESETS: ProviderPreset[] = [
{
label: 'FUN-Codex',
value: 'fun-codex',
builtin: true,
base_url: 'https://api.apikey.fun/v1',
models: [
'gpt-5.5',
'gpt-5.4',
'gpt-5.4-mini',
'gpt-5.3-codex',
'gpt-5.3-codex-spark',
],
},
{
label: 'FUN-Claude',
value: 'fun-claude',
builtin: true,
base_url: 'https://api.apikey.fun',
api_mode: "anthropic_messages",
models: [
'claude-opus-4-7',
'claude-opus-4-6',
'claude-sonnet-4-6',
'claude-haiku-4-5'
],
},
{
label: 'Anthropic',
value: 'anthropic',