diff --git a/src/components/Common/ProviderIcon.tsx b/src/components/Common/ProviderIcon.tsx index 1db9d6d..adb9574 100644 --- a/src/components/Common/ProviderIcon.tsx +++ b/src/components/Common/ProviderIcon.tsx @@ -8,6 +8,7 @@ import { TogtherMonoIcon } from "../Icons/Togther" import { OpenRouterIcon } from "../Icons/OpenRouter" import { LLamaFile } from "../Icons/Llamafile" import { GeminiIcon } from "../Icons/GeminiIcon" +import { MistarlIcon } from "../Icons/Mistral" export const ProviderIcons = ({ provider, @@ -37,6 +38,8 @@ export const ProviderIcons = ({ return case "gemini": return + case "mistral": + return default: return } diff --git a/src/components/Icons/Mistral.tsx b/src/components/Icons/Mistral.tsx new file mode 100644 index 0000000..14784f6 --- /dev/null +++ b/src/components/Icons/Mistral.tsx @@ -0,0 +1,32 @@ +import React from "react" + +export const MistarlIcon = React.forwardRef< + SVGSVGElement, + React.SVGProps +>((props, ref) => { + return ( + + + + + + + + + + + ) +}) diff --git a/src/utils/oai-api-providers.ts b/src/utils/oai-api-providers.ts index 06a59e7..f0d3239 100644 --- a/src/utils/oai-api-providers.ts +++ b/src/utils/oai-api-providers.ts @@ -48,5 +48,10 @@ export const OAI_API_PROVIDERS = [ label: "Google AI", value: "gemini", baseUrl: "https://generativelanguage.googleapis.com/v1beta/openai" + }, + { + label: "Mistral", + value: "mistral", + baseUrl: "https://api.mistral.ai/v1" } ] \ No newline at end of file diff --git a/wxt.config.ts b/wxt.config.ts index 0aa73c2..975795b 100644 --- a/wxt.config.ts +++ b/wxt.config.ts @@ -51,7 +51,7 @@ export default defineConfig({ outDir: "build", manifest: { - version: "1.4.0", + version: "1.4.1", name: process.env.TARGET === "firefox" ? "Page Assist - A Web UI for Local AI Models"