From ccc6cbd17a6adfb68f8dbf0b498639d15738afb7 Mon Sep 17 00:00:00 2001 From: Wenjie Zhang Date: Wed, 24 Dec 2025 20:59:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DSQL=20=E5=B7=A5?= =?UTF-8?q?=E5=85=B7=E9=87=8D=E5=A4=8D=E5=8A=A0=E8=BD=BD=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/agents/chatbot/tools.py | 2 -- src/config/static/info.template.yaml | 6 +++--- web/src/stores/info.js | 6 +++--- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/agents/chatbot/tools.py b/src/agents/chatbot/tools.py index c19d7707..b6eabce6 100644 --- a/src/agents/chatbot/tools.py +++ b/src/agents/chatbot/tools.py @@ -6,7 +6,6 @@ import requests from langchain.tools import tool from src.agents.common import get_buildin_tools -from src.agents.common.toolkits.mysql import get_mysql_tools from src.storage.minio import aupload_file_to_minio from src.utils import logger @@ -52,5 +51,4 @@ def get_tools() -> list[Any]: """获取所有可运行的工具(给大模型使用)""" tools = get_buildin_tools() tools.append(text_to_img_demo) - tools.extend(get_mysql_tools()) return tools diff --git a/src/config/static/info.template.yaml b/src/config/static/info.template.yaml index 8be02cbe..85fb0116 100644 --- a/src/config/static/info.template.yaml +++ b/src/config/static/info.template.yaml @@ -16,15 +16,15 @@ branding: features: - label: "GitHub Stars" - value: "2600+" + value: "3000+" description: "开发者社区的认可与支持" icon: "stars" - label: "已解决 Issues" - value: "210+" + value: "250+" description: "持续改进和问题解决能力" icon: "issues" - label: "累计 Commits" - value: "1000+" + value: "1100+" description: "活跃的开发迭代和功能更新" icon: "commits" - label: "开源协议" diff --git a/web/src/stores/info.js b/web/src/stores/info.js index fade5d61..d4e5e53d 100644 --- a/web/src/stores/info.js +++ b/web/src/stores/info.js @@ -27,17 +27,17 @@ export const useInfoStore = defineStore('info', () => { // 计算属性 - 功能特性 const features = computed(() => infoConfig.value.features || [{ label: "GitHub Stars", - value: "2600+", + value: "3000+", description: "开发者社区的认可与支持", icon: "stars" }, { label: "已解决 Issues", - value: "200+", + value: "250+", description: "持续改进和问题解决能力", icon: "issues" }, { label: "累计 Commits", - value: "1000+", + value: "1100+", description: "活跃的开发迭代和功能更新", icon: "commits" }, {