修改配置并取消每次接受消息后的自动回复
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"host": "localhost",
|
"host": "localhost",
|
||||||
"port": 11434,
|
"port": 11434,
|
||||||
"model": "llama3.1"
|
"model": "qwen3:0.6b"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -88,7 +88,8 @@ class AIChatGame(BaseGame):
|
|||||||
task = asyncio.create_task(self._delayed_response(chat_id))
|
task = asyncio.create_task(self._delayed_response(chat_id))
|
||||||
_pending_tasks[chat_id] = task
|
_pending_tasks[chat_id] = task
|
||||||
|
|
||||||
return "✅ 已收到,等待10秒后回答(如有新消息将重新计时)"
|
# 不返回确认消息,静默处理
|
||||||
|
return ""
|
||||||
|
|
||||||
async def _handle_config(self, args: str, chat_id: int, user_id: int) -> str:
|
async def _handle_config(self, args: str, chat_id: int, user_id: int) -> str:
|
||||||
"""处理配置请求
|
"""处理配置请求
|
||||||
|
|||||||
Reference in New Issue
Block a user