Fix reply_text[:200] truncation breaking bench keyword matching #3

Closed
opened 2026-03-24 01:56:50 +00:00 by alvis · 0 comments
Owner

Problem

agent.py now logs reply_text: {final_text[:200]} — truncated to 200 chars. Bench recall keyword checks in test_memory.py parse reply_text from this log line, so long replies with keywords past char 200 silently fail.

Fix

Either remove the truncation in agent.py or update the bench to read reply text from a different source.

## Problem `agent.py` now logs `reply_text: {final_text[:200]}` — truncated to 200 chars. Bench recall keyword checks in `test_memory.py` parse `reply_text` from this log line, so long replies with keywords past char 200 silently fail. ## Fix Either remove the truncation in `agent.py` or update the bench to read reply text from a different source.
alvis closed this issue 2026-03-24 02:52:44 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: alvis/adolf#3