From e5e5fde924a7598a6c447c079cce7337294b9d81 Mon Sep 17 00:00:00 2001
From: dupl <67990457+dupl@users.noreply.github.com>
Date: Fri, 7 Feb 2025 06:50:31 +0800
Subject: [PATCH 1/4] update the lastest Gemini models

---
 app/constant.ts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/app/constant.ts b/app/constant.ts
index 32e5a2263..226cd4046 100644
--- a/app/constant.ts
+++ b/app/constant.ts
@@ -509,10 +509,14 @@ const googleModels = [
   "gemini-exp-1114",
   "gemini-exp-1121",
   "gemini-exp-1206",
+  "gemini-2.0-flash",
   "gemini-2.0-flash-exp",
+  "gemini-2.0-flash-lite-preview-02-05",
   "gemini-2.0-flash-thinking-exp",
   "gemini-2.0-flash-thinking-exp-1219",
   "gemini-2.0-flash-thinking-exp-01-21",
+  "gemini-2.0-pro-exp",
+  "gemini-2.0-pro-exp-02-05",
 ];
 
 const anthropicModels = [

From 51384ddc5feff6ca31028c77cf6b17b751a0ab24 Mon Sep 17 00:00:00 2001
From: ZhangYichi <admin@zhangyichi.cn>
Date: Fri, 7 Feb 2025 11:13:22 +0800
Subject: [PATCH 2/4] Fix: Set consistent fill color for OpenAI/MoonShot/Grok
 SVG to prevent color inversion in dark mode

---
 app/icons/llm-icons/grok.svg     | 2 +-
 app/icons/llm-icons/moonshot.svg | 2 +-
 app/icons/llm-icons/openai.svg   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/icons/llm-icons/grok.svg b/app/icons/llm-icons/grok.svg
index 335786777..8125cd610 100644
--- a/app/icons/llm-icons/grok.svg
+++ b/app/icons/llm-icons/grok.svg
@@ -1,4 +1,4 @@
-<svg fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 30 30"
+<svg fill="#333" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 30 30"
      width="1em" xmlns="http://www.w3.org/2000/svg">
     <title>Grok</title>
     <rect width="30" height="30" fill="#E7F8FF" rx="6"/>
diff --git a/app/icons/llm-icons/moonshot.svg b/app/icons/llm-icons/moonshot.svg
index 8ab682d37..5206e0f12 100644
--- a/app/icons/llm-icons/moonshot.svg
+++ b/app/icons/llm-icons/moonshot.svg
@@ -1,4 +1,4 @@
-<svg fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 30 30"
+<svg fill="#333" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 30 30"
      width="1em" xmlns="http://www.w3.org/2000/svg">
     <title>MoonshotAI</title>
     <rect width="30" height="30" fill="#E7F8FF" rx="6"/>
diff --git a/app/icons/llm-icons/openai.svg b/app/icons/llm-icons/openai.svg
index ac4567f87..564cd5e87 100644
--- a/app/icons/llm-icons/openai.svg
+++ b/app/icons/llm-icons/openai.svg
@@ -1,4 +1,4 @@
-<svg fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 30 30"
+<svg fill="#333" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 30 30"
      width="1em" xmlns="http://www.w3.org/2000/svg">
     <title>OpenAI</title>
     <rect width="30" height="30" fill="#E7F8FF" rx="6"/>

From 1010db834ce52f6a832bf50d3645527f3b42697e Mon Sep 17 00:00:00 2001
From: xiexin12138 <xiexin344@163.com>
Date: Fri, 7 Feb 2025 15:41:40 +0800
Subject: [PATCH 3/4] =?UTF-8?q?fix:=20=E8=A1=A5=E5=85=85=E7=A1=85=E5=9F=BA?=
 =?UTF-8?q?=E6=B5=81=E5=8A=A8=E7=9A=84=20env=20=E7=8E=AF=E5=A2=83=E5=8F=98?=
 =?UTF-8?q?=E9=87=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .env.template | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.env.template b/.env.template
index 907ec9dfe..4efaa2ff8 100644
--- a/.env.template
+++ b/.env.template
@@ -73,6 +73,11 @@ ANTHROPIC_API_VERSION=
 ### anthropic claude Api url (optional)
 ANTHROPIC_URL=
 
-
 ### (optional)
 WHITE_WEBDAV_ENDPOINTS=
+
+### siliconflow Api key (optional)
+SILICONFLOW_API_KEY=
+
+### siliconflow Api url (optional)
+SILICONFLOW_URL=

From a780b39c17a271eb44421ac2f027fcf91c3b77cf Mon Sep 17 00:00:00 2001
From: xiexin12138 <xiexin344@163.com>
Date: Fri, 7 Feb 2025 15:43:50 +0800
Subject: [PATCH 4/4] =?UTF-8?q?fix:=20=E8=A1=A5=E5=85=85=E7=A1=85=E5=9F=BA?=
 =?UTF-8?q?=E6=B5=81=E5=8A=A8=E5=AF=B9=20DeepSeek=20=E6=94=AF=E6=8C=81?=
 =?UTF-8?q?=E7=9A=84=E4=BB=98=E8=B4=B9=E6=A8=A1=E5=9E=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app/constant.ts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app/constant.ts b/app/constant.ts
index 32e5a2263..dd478c5e7 100644
--- a/app/constant.ts
+++ b/app/constant.ts
@@ -620,6 +620,8 @@ const siliconflowModels = [
   "deepseek-ai/DeepSeek-V3",
   "meta-llama/Llama-3.3-70B-Instruct",
   "THUDM/glm-4-9b-chat",
+  "Pro/deepseek-ai/DeepSeek-R1",
+  "Pro/deepseek-ai/DeepSeek-V3",
 ];
 
 let seq = 1000; // 内置的模型序号生成器从1000开始