Skip to content

Commit

Permalink
chore: minor switch case refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
rootCircle committed Dec 8, 2024
1 parent a1f51bd commit 6ddb6db
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/utils/llmEngineTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,12 @@ function getAPIPlatformSourceLink(modelType: LLMEngineType): string {
case LLMEngineType.Gemini:
return 'https://makersuite.google.com/app/apikey';
case LLMEngineType.Ollama:
return ''; // Ollama doesn't need an API key link
case LLMEngineType.ChromeAI:
return ''; // ChromeAI doesn't need an API key link
return ''; // ChromeAI, Ollama doesn't need an API key link
case LLMEngineType.Mistral:
return 'https://console.mistral.ai/api-keys/';
case LLMEngineType.Anthropic:
return 'https://console.anthropic.com/settings/keys';
default:
return '';
}
}

Expand Down

0 comments on commit 6ddb6db

Please sign in to comment.