feat: Add Mistral provider support
feat: Update manifest version to 1.4.1
This commit is contained in:
parent
efb49d8e34
commit
1d9d704c76
@ -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 <LLamaFile className={className} />
|
||||
case "gemini":
|
||||
return <GeminiIcon className={className} />
|
||||
case "mistral":
|
||||
return <MistarlIcon className={className} />
|
||||
default:
|
||||
return <OllamaIcon className={className} />
|
||||
}
|
||||
|
32
src/components/Icons/Mistral.tsx
Normal file
32
src/components/Icons/Mistral.tsx
Normal file
@ -0,0 +1,32 @@
|
||||
import React from "react"
|
||||
|
||||
export const MistarlIcon = React.forwardRef<
|
||||
SVGSVGElement,
|
||||
React.SVGProps<SVGSVGElement>
|
||||
>((props, ref) => {
|
||||
return (
|
||||
<svg
|
||||
{...props}
|
||||
fill="currentColor"
|
||||
fillRule="evenodd"
|
||||
ref={ref}
|
||||
style={{ flex: "none", lineHeight: 1, ...props.style }}
|
||||
viewBox="0 0 24 24"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
<g fill="none" fillRule="nonzero">
|
||||
<path
|
||||
d="M15 6v4h-2V6h2zm4-4v4h-2V2h2zM3 2H1h2zM1 2h2v20H1V2zm8 12h2v4H9v-4zm8 0h2v8h-2v-8z"
|
||||
fill="#000"
|
||||
/>
|
||||
<path d="M19 2h4v4h-4V2zM3 2h4v4H3V2z" fill="#F7D046" />
|
||||
<path d="M15 10V6h8v4h-8zM3 10V6h8v4H3z" fill="#F2A73B" />
|
||||
<path d="M3 14v-4h20v4z" fill="#EE792F" />
|
||||
<path
|
||||
d="M11 14h4v4h-4v-4zm8 0h4v4h-4v-4zM3 14h4v4H3v-4z"
|
||||
fill="#EB5829"
|
||||
/>
|
||||
<path d="M19 18h4v4h-4v-4zM3 18h4v4H3v-4z" fill="#EA3326" />
|
||||
</g>
|
||||
</svg>
|
||||
)
|
||||
})
|
@ -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"
|
||||
}
|
||||
]
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user