修改配置并取消每次接受消息后的自动回复

This commit is contained in:
2025-10-30 00:35:52 +08:00
parent b247c57bbe
commit a76de359d5
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"host": "localhost",
"port": 11434,
"model": "llama3.1"
"model": "qwen3:0.6b"
}

View File

@@ -88,7 +88,8 @@ class AIChatGame(BaseGame):
task = asyncio.create_task(self._delayed_response(chat_id))
_pending_tasks[chat_id] = task
return "✅ 已收到等待10秒后回答如有新消息将重新计时"
# 不返回确认消息,静默处理
return ""
async def _handle_config(self, args: str, chat_id: int, user_id: int) -> str:
"""处理配置请求