Skip to content

Commit ccc6cbd

Browse files
committed
fix: 修复SQL 工具重复加载的问题
1 parent e8a5844 commit ccc6cbd

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

src/agents/chatbot/tools.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from langchain.tools import tool
77

88
from src.agents.common import get_buildin_tools
9-
from src.agents.common.toolkits.mysql import get_mysql_tools
109
from src.storage.minio import aupload_file_to_minio
1110
from src.utils import logger
1211

@@ -52,5 +51,4 @@ def get_tools() -> list[Any]:
5251
"""获取所有可运行的工具(给大模型使用)"""
5352
tools = get_buildin_tools()
5453
tools.append(text_to_img_demo)
55-
tools.extend(get_mysql_tools())
5654
return tools

src/config/static/info.template.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ branding:
1616

1717
features:
1818
- label: "GitHub Stars"
19-
value: "2600+"
19+
value: "3000+"
2020
description: "开发者社区的认可与支持"
2121
icon: "stars"
2222
- label: "已解决 Issues"
23-
value: "210+"
23+
value: "250+"
2424
description: "持续改进和问题解决能力"
2525
icon: "issues"
2626
- label: "累计 Commits"
27-
value: "1000+"
27+
value: "1100+"
2828
description: "活跃的开发迭代和功能更新"
2929
icon: "commits"
3030
- label: "开源协议"

web/src/stores/info.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ export const useInfoStore = defineStore('info', () => {
2727
// 计算属性 - 功能特性
2828
const features = computed(() => infoConfig.value.features || [{
2929
label: "GitHub Stars",
30-
value: "2600+",
30+
value: "3000+",
3131
description: "开发者社区的认可与支持",
3232
icon: "stars"
3333
}, {
3434
label: "已解决 Issues",
35-
value: "200+",
35+
value: "250+",
3636
description: "持续改进和问题解决能力",
3737
icon: "issues"
3838
}, {
3939
label: "累计 Commits",
40-
value: "1000+",
40+
value: "1100+",
4141
description: "活跃的开发迭代和功能更新",
4242
icon: "commits"
4343
}, {

0 commit comments

Comments
 (0)