mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-26 00:53:54 +08:00
Merge pull request #3176 from xinnan-tech/perf-tool-add-online-search
Perf:新增联网搜索工具类、修复新闻描述配置获取源问题
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user