Skip to content
2 changes: 0 additions & 2 deletions evaluation/scripts/locomo/locomo_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,6 @@ def search_query(client, query, metadata, frame, reversed_client=None, top_k=20)

if frame == "zep":
context, duration_ms = zep_search(client, query, conv_id, top_k)
elif frame == "memos":
context, duration_ms = memos_search(client, query)
elif frame == "mem0":
Copy link

Copilot AI Jul 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the memos branch removed, passing frame="memos" will fall through and leave context and duration_ms uninitialized, causing a runtime error. Consider adding an else clause to explicitly handle unsupported frame values or raise a clear error.

Copilot uses AI. Check for mistakes.
context, duration_ms = mem0_search(
client, query, speaker_a_user_id, speaker_b_user_id, top_k
Expand Down
Empty file modified evaluation/scripts/run_locomo_eval.sh
100644 → 100755
Empty file.