Delete API Key
Are you sure you want to delete this API key? This action cannot be undone.
Cancel deleteAPIKey(apiKey.id)}>
Delete
))}
{apiKeys.length === 0 && (
No API keys created yet. Create your first API key to get started.
)}
)}
Available Models
Models available through your LLM platform.
{models.map((model) => {
// Helper function to get provider from model ID
const getProviderFromModel = (modelId: string): string => {
if (modelId.startsWith('privatemode-')) return 'PrivateMode.ai'
if (modelId.startsWith('gpt-') || modelId.includes('openai')) return 'OpenAI'
if (modelId.startsWith('claude-') || modelId.includes('anthropic')) return 'Anthropic'
if (modelId.startsWith('gemini-') || modelId.includes('google')) return 'Google'
if (modelId.includes('cohere')) return 'Cohere'
if (modelId.includes('mistral')) return 'Mistral'
if (modelId.includes('llama') && !modelId.startsWith('privatemode-')) return 'Meta'
return model.owned_by || 'Unknown'
}
return (