feat: Add support for Google AI (Gemini) as a custom model provider

This commit is contained in:
n4ze3m
2024-12-21 18:13:21 +05:30
parent a3c76f0757
commit 772000bff4
5 changed files with 56 additions and 13 deletions

View File

@@ -7,6 +7,7 @@ import { OpenAiIcon } from "../Icons/OpenAI"
import { TogtherMonoIcon } from "../Icons/Togther"
import { OpenRouterIcon } from "../Icons/OpenRouter"
import { LLamaFile } from "../Icons/Llamafile"
import { GeminiIcon } from "../Icons/GeminiIcon"
export const ProviderIcons = ({
provider,
@@ -34,6 +35,8 @@ export const ProviderIcons = ({
return <OpenRouterIcon className={className} />
case "llamafile":
return <LLamaFile className={className} />
case "gemini":
return <GeminiIcon className={className} />
default:
return <OllamaIcon className={className} />
}