mirror of https://github.com/Mai-with-u/MaiBot.git
修复default_generator
parent
d8f3338f38
commit
2dfb7a77fc
|
|
@ -149,7 +149,7 @@ class DefaultReplyer:
|
|||
|
||||
from src.plugin_system.core.tool_use import ToolExecutor # 延迟导入ToolExecutor,不然会循环依赖
|
||||
|
||||
self.tool_executor = ToolExecutor(chat_id=self.chat_stream.stream_id, enable_cache=True, cache_ttl=3)
|
||||
self.tool_executor = ToolExecutor(chat_id=self.chat_stream.stream_id)
|
||||
|
||||
async def generate_reply_with_context(
|
||||
self,
|
||||
|
|
|
|||
Loading…
Reference in New Issue