fix: remove misleading chatgpt/copilot model IDs from AI-Bridge adapter
AI-Bridge only routes to claude-bridge (Claude Code flat-fee). The chatgpt and copilot model entries falsely implied direct connections to those services.
This commit is contained in:
parent
998e8d8aee
commit
7ea2d1e266
@ -239,7 +239,7 @@ function createOllamaAdapter(): ProviderAdapter {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// ─── AI-Bridge Adapter (Claude Max Flat Fee + ChatGPT + Copilot) ────────────
|
// ─── AI-Bridge Adapter (Claude Code flat-fee subscription via claude-bridge) ─
|
||||||
|
|
||||||
function createAiBridgeAdapter(): ProviderAdapter {
|
function createAiBridgeAdapter(): ProviderAdapter {
|
||||||
const baseUrl = config.providers.aiBridge.url;
|
const baseUrl = config.providers.aiBridge.url;
|
||||||
@ -248,13 +248,11 @@ function createAiBridgeAdapter(): ProviderAdapter {
|
|||||||
{ id: 'claude-opus', displayName: 'Claude Opus (AI-Bridge)', contextLength: 200_000, inputPricePerMTok: 0, outputPricePerMTok: 0, tier: 'reasoning' },
|
{ id: 'claude-opus', displayName: 'Claude Opus (AI-Bridge)', contextLength: 200_000, inputPricePerMTok: 0, outputPricePerMTok: 0, tier: 'reasoning' },
|
||||||
{ id: 'claude-sonnet', displayName: 'Claude Sonnet (AI-Bridge)', contextLength: 200_000, inputPricePerMTok: 0, outputPricePerMTok: 0, tier: 'standard' },
|
{ id: 'claude-sonnet', displayName: 'Claude Sonnet (AI-Bridge)', contextLength: 200_000, inputPricePerMTok: 0, outputPricePerMTok: 0, tier: 'standard' },
|
||||||
{ id: 'claude-haiku', displayName: 'Claude Haiku (AI-Bridge)', contextLength: 200_000, inputPricePerMTok: 0, outputPricePerMTok: 0, tier: 'fast' },
|
{ id: 'claude-haiku', displayName: 'Claude Haiku (AI-Bridge)', contextLength: 200_000, inputPricePerMTok: 0, outputPricePerMTok: 0, tier: 'fast' },
|
||||||
{ id: 'chatgpt', displayName: 'ChatGPT (AI-Bridge)', contextLength: 128_000, inputPricePerMTok: 0, outputPricePerMTok: 0, tier: 'standard' },
|
|
||||||
{ id: 'copilot', displayName: 'Copilot (AI-Bridge)', contextLength: 128_000, inputPricePerMTok: 0, outputPricePerMTok: 0, tier: 'fast' },
|
|
||||||
];
|
];
|
||||||
|
|
||||||
return {
|
return {
|
||||||
name: 'ai-bridge',
|
name: 'ai-bridge',
|
||||||
displayName: 'AI-Bridge (Claude + ChatGPT + Copilot)',
|
displayName: 'AI-Bridge (Claude Code)',
|
||||||
models,
|
models,
|
||||||
isConfigured: () => true,
|
isConfigured: () => true,
|
||||||
supportsPromptCaching: () => false,
|
supportsPromptCaching: () => false,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user