From 8ee9438b1cc6182055d637762c00a18ee94b0377 Mon Sep 17 00:00:00 2001 From: Storme-bit Date: Sun, 5 Apr 2026 22:30:16 -0700 Subject: [PATCH] changed recent_episode_limit to 5 for testing purposes --- packages/orchestration-service/src/chat/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/orchestration-service/src/chat/index.js b/packages/orchestration-service/src/chat/index.js index 0e50fd7..829d37a 100644 --- a/packages/orchestration-service/src/chat/index.js +++ b/packages/orchestration-service/src/chat/index.js @@ -7,7 +7,7 @@ const SYSTEM_PROMPT = `You are a helpful, context-aware AI assistant. You have access to memories of past conversations with the user. Use them to provide consistent, personalised responses.`; -const RECENT_EPISODE_LIMIT = 10; // Number of recent episodes to retrieve for context +const RECENT_EPISODE_LIMIT = 5; // Number of recent episodes to retrieve for context const SEMANTIC_LIMIT = 5; const SCORE_THRESHOLD = 0.75;