Merge pull request #3176 from xinnan-tech/perf-tool-add-online-search

Perf:新增联网搜索工具类、修复新闻描述配置获取源问题
This commit is contained in:
wengzh
2026-05-14 10:51:23 +08:00
committed by GitHub
7 changed files with 209 additions and 34 deletions
-7
View File
@@ -47,13 +47,6 @@ async def main():
check_ffmpeg_installed()
config = load_config()
# 初始化插件描述(需要在load_config之后、服务启动之前)
try:
from plugins_func.functions.get_news_from_newsnow import init_news_description
init_news_description(config)
except Exception:
pass
# auth_key优先级:配置文件server.auth_key > manager-api.secret > 自动生成
# auth_key用于jwt认证,比如视觉分析接口的jwt认证、ota接口的token生成与websocket认证
# 获取配置文件中的auth_key