From 144bf81533cb20569f2d5e1f351eb6cdfb81fe18 Mon Sep 17 00:00:00 2001 From: litongjava Date: Sun, 2 Feb 2025 16:53:40 -1000 Subject: [PATCH] add DeepSeek --- ui/assets/DeepSeekIcon.tsx | 20 ++++++++++++++++++++ ui/assets/deepseek.svg | 1 + ui/components/MessageInputActions/Focus.tsx | 9 +++++++++ 3 files changed, 30 insertions(+) create mode 100644 ui/assets/DeepSeekIcon.tsx create mode 100644 ui/assets/deepseek.svg diff --git a/ui/assets/DeepSeekIcon.tsx b/ui/assets/DeepSeekIcon.tsx new file mode 100644 index 0000000..0c761db --- /dev/null +++ b/ui/assets/DeepSeekIcon.tsx @@ -0,0 +1,20 @@ +import React from 'react'; + +const DeepSeekIcon = (props: React.JSX.IntrinsicAttributes & React.SVGProps) => ( + + + +); + +export default DeepSeekIcon; diff --git a/ui/assets/deepseek.svg b/ui/assets/deepseek.svg new file mode 100644 index 0000000..3dcf249 --- /dev/null +++ b/ui/assets/deepseek.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/ui/components/MessageInputActions/Focus.tsx b/ui/components/MessageInputActions/Focus.tsx index b72e19f..49f7641 100644 --- a/ui/components/MessageInputActions/Focus.tsx +++ b/ui/components/MessageInputActions/Focus.tsx @@ -15,6 +15,7 @@ import { } from '@headlessui/react'; import {SiGoogletranslate, SiReddit, SiYoutube} from '@icons-pack/react-simple-icons'; import { Fragment } from 'react'; +import DeepSeekIcon from "@/assets/DeepSeekIcon"; const focusModes = [ { @@ -84,6 +85,14 @@ const focusModes = [ /> ), }, + { + key: 'deepSeek', + title: 'DeepSeek', + description: 'Chat with DeepSeek', + icon: ( + + ), + }, ]; const Focus = ({