fix: remove unused providers anthropic, azure and minimax from Header.tsx dictionary to solve typescript compilation error
This commit is contained in:
@@ -18,20 +18,14 @@ export const Header: React.FC<HeaderProps> = ({ onReset, onClearKey, onToggleAdm
|
||||
const providerColors: Record<AIProvider, string> = {
|
||||
gemini: 'from-blue-500 to-indigo-600',
|
||||
openai: 'from-green-500 to-emerald-600',
|
||||
anthropic: 'from-orange-500 to-amber-600',
|
||||
azure: 'from-blue-600 to-cyan-600',
|
||||
openrouter: 'from-purple-500 to-fuchsia-600',
|
||||
minimax: 'from-red-500 to-rose-600',
|
||||
ollama: 'from-slate-500 to-gray-600'
|
||||
};
|
||||
|
||||
const providerNames: Record<AIProvider, string> = {
|
||||
gemini: 'Gemini',
|
||||
openai: 'OpenAI',
|
||||
anthropic: 'Claude',
|
||||
azure: 'Azure',
|
||||
openrouter: 'OpenRouter',
|
||||
minimax: 'MiniMax',
|
||||
ollama: 'Ollama'
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user