You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
deepSearch was matching sessions where a single common word
appeared anywhere in 100+ messages. Query 'go-vector changes'
matched the events fetcher analysis session because 'changes'
appeared once in a message — completely unrelated result.
Now deepSearch tracks distinct matched tokens and requires at
least 2. A single common word can no longer qualify a session.
Also updated tool description to tell the LLM to use 'get'
(after search) to read full session_messages content.
func (t*sessionSearchTool) Description() string { return`Search and retrieve past agent sessions. Actions: list (recent sessions), search (semantic keyword search through full message content), get (full session by ID), find (sessions by task/title). Uses semantic vector search for the search action — it finds sessions whose conversation content is relevant to your query, even when titles don't match. Use OR between keywords for broad recall.` }
27
+
func (t*sessionSearchTool) Description() string { return`Search and retrieve past agent sessions. Actions: list (recent sessions), search (semantic keyword search through full message content), get (full session by ID including ALL messages), find (sessions by task/title). Uses semantic vector search for the search action — it finds sessions whose conversation content is relevant to your query, even when titles don't match. Use OR between keywords for broad recall.
28
+
29
+
IMPORTANT: After search returns matching sessions, use get (not search) to read the actual conversation content. get returns the full session_messages array with every user and assistant message.` }
0 commit comments