mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-15 17:30:13 +08:00
fix(cli): only run runtime bootstrap when needed
Runtime bootstrap (SSL context setup) is now only initialized in commands that actually need it (run), not on every CLI invocation.
This commit is contained in:
@@ -24,9 +24,6 @@ from astrbot.core.utils.io import (
|
||||
download_dashboard,
|
||||
get_dashboard_version,
|
||||
)
|
||||
from astrbot.runtime_bootstrap import initialize_runtime_bootstrap
|
||||
|
||||
initialize_runtime_bootstrap()
|
||||
|
||||
|
||||
# 将父目录添加到 sys.path
|
||||
|
||||
Reference in New Issue
Block a user