From 5954fb79b901d2e758746ef283d3b9f7337f2f41 Mon Sep 17 00:00:00 2001 From: zihanjian Date: Sun, 19 Oct 2025 21:01:19 +0800 Subject: [PATCH] context_window --- commands/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/handlers.py b/commands/handlers.py index e508008..23ae0a0 100644 --- a/commands/handlers.py +++ b/commands/handlers.py @@ -267,7 +267,7 @@ def handle_chitchat(ctx: 'MessageContext', match: Optional[Match]) -> bool: if not deduped_keywords: return json.dumps({"error": "No valid keywords provided.", "results": []}, ensure_ascii=False) - context_window = 5 + context_window = 10 max_results = 20 print(f"[search_chat_history] chat_id={chat_id}, keywords={deduped_keywords}, "