feat(home page): version description update

This commit is contained in:
Timebomb2018
2026-01-23 16:58:55 +08:00
parent 313f19eba4
commit c115bcde54
3 changed files with 33 additions and 3 deletions

View File

@@ -184,7 +184,7 @@ class Settings:
ENABLE_TOOL_MANAGEMENT: bool = os.getenv("ENABLE_TOOL_MANAGEMENT", "true").lower() == "true"
# official environment system version
SYSTEM_VERSION: str = os.getenv("SYSTEM_VERSION", "v0.2.0")
SYSTEM_VERSION: str = os.getenv("SYSTEM_VERSION", "v0.2.1")
# workflow config
WORKFLOW_NODE_TIMEOUT: int = int(os.getenv("WORKFLOW_NODE_TIMEOUT", 600))

View File

@@ -16,7 +16,7 @@ class BaiduSearchTool(BuiltinTool):
@property
def description(self) -> str:
return "百度搜索 - 搜索引擎服务:网页搜索、新闻搜索、图片搜索、实时结果"
return "百度搜索 - 搜索引擎服务:网页搜索、新闻搜索、图片搜索、视频搜索"
def get_required_config_parameters(self) -> List[str]:
return ["api_key"]
@@ -33,7 +33,7 @@ class BaiduSearchTool(BuiltinTool):
ToolParameter(
name="search_type",
type=ParameterType.STRING,
description="搜索类型",
description="搜索类型, web: 网页搜索news新闻搜索image图片搜索video视频搜索",
required=False,
default="web",
enum=["web", "news", "image", "video"]