mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-20 11:40:13 +08:00
✨ 格式化db_context (#1980)
* ✨ 格式化db_context * 🔥 移除旧db-context * ⚡ 添加旧版本兼容
This commit is contained in:
@@ -18,7 +18,7 @@ require("nonebot_plugin_htmlrender")
|
||||
require("nonebot_plugin_uninfo")
|
||||
require("nonebot_plugin_waiter")
|
||||
|
||||
from .db_context import Model, disconnect
|
||||
from .db_context import Model, disconnect, with_db_timeout
|
||||
from .llm import (
|
||||
AI,
|
||||
AIConfig,
|
||||
@@ -80,4 +80,5 @@ __all__ = [
|
||||
"search_multimodal",
|
||||
"set_global_default_model_name",
|
||||
"tool_registry",
|
||||
"with_db_timeout",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user