mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-08-24 23:32:19 +10:00
fix(ai): bound the provider test and explain why it failed (#3319)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: Amruth Pillai <im.amruth@gmail.com>
This commit is contained in:
co-authored by
Claude Opus 5
Amruth Pillai
parent
104e954b77
commit
a4bc2693be
@@ -41,3 +41,24 @@ export const AI_PROVIDER_DEFAULT_BASE_URLS: Record<AIProvider, string> = {
|
||||
ollama: "https://ollama.com/api",
|
||||
"openai-compatible": "",
|
||||
};
|
||||
|
||||
// Brand names, used when a message has to name the provider outside a translated UI string. Every
|
||||
// such message opens with this value, so the generic fallback is capitalised to match.
|
||||
export const AI_PROVIDER_DISPLAY_NAMES: Record<AIProvider, string> = {
|
||||
openai: "OpenAI",
|
||||
anthropic: "Anthropic",
|
||||
gemini: "Google Gemini",
|
||||
"vercel-ai-gateway": "Vercel AI Gateway",
|
||||
openrouter: "OpenRouter",
|
||||
mistral: "Mistral",
|
||||
cohere: "Cohere",
|
||||
xai: "xAI",
|
||||
groq: "Groq",
|
||||
deepseek: "DeepSeek",
|
||||
togetherai: "Together AI",
|
||||
fireworks: "Fireworks AI",
|
||||
cerebras: "Cerebras",
|
||||
perplexity: "Perplexity",
|
||||
ollama: "Ollama",
|
||||
"openai-compatible": "The provider",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user