diff --git a/docs/changelog.md b/docs/changelog.md index 7dd46c37..554f1e7d 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -10,6 +10,12 @@ Consider giving a star ⭐ on [Github](https://github.com/pnd280/complexity). **EXPERIMENTAL** features are subjected to change/removal without prior notice. +## v0.0.5.2 + +_Release date: 29th Oct, 2024_ + +- Added Grok-2 model. + ## v0.0.5.1 _Release date: 26th Oct, 2024_ diff --git a/package.json b/package.json index 1dcd0422..4f76239a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "complexity", "displayName": "Complexity - Perplexity AI Supercharged", - "version": "0.0.5.1", + "version": "0.0.5.2", "author": "pnd280", "description": "⚡ Supercharge your Perplexity AI", "type": "module", diff --git a/src/content-script/components/QueryBox/consts.ts b/src/content-script/components/QueryBox/consts.ts index 74a8226b..8a705808 100644 --- a/src/content-script/components/QueryBox/consts.ts +++ b/src/content-script/components/QueryBox/consts.ts @@ -32,6 +32,12 @@ export const languageModels = [ code: "gpt4", provider: "OpenAI", }, + { + label: "Grok-2", + shortLabel: "Grok-2", + code: "grok", + provider: "xAI", + }, { label: "Sonar Huge", shortLabel: "Sonar XL", diff --git a/src/content-script/components/QueryBox/index.tsx b/src/content-script/components/QueryBox/index.tsx index 45466c9f..5e537951 100644 --- a/src/content-script/components/QueryBox/index.tsx +++ b/src/content-script/components/QueryBox/index.tsx @@ -23,6 +23,7 @@ import BlackForestLabs from "@/shared/components/icons/BlackForestLabsIcon"; import MistralAiIcon from "@/shared/components/icons/MistralAiIcon"; import PlaygroundAiIcon from "@/shared/components/icons/PlaygroundAiIcon"; import StabilityAiIcon from "@/shared/components/icons/StabilityAiIcon"; +import XAiIcon from "@/shared/components/icons/xAi"; export type LanguageModel = (typeof languageModels)[number]; type Provider = (typeof languageModels)[number]["provider"]; @@ -38,6 +39,7 @@ export const languageModelIcons: Record = { o1: , gpt4o: , gpt4: , + grok: , llama_x_large: , experimental: , turbo: , diff --git a/src/shared/components/icons/xAi.tsx b/src/shared/components/icons/xAi.tsx new file mode 100644 index 00000000..1cebcc3d --- /dev/null +++ b/src/shared/components/icons/xAi.tsx @@ -0,0 +1,32 @@ +import { SVGProps } from "react"; + +export default function XAiIcon({ ...props }: SVGProps) { + return ( + + + + + + + + + ); +}