Skip to content

fix: add anti-imitation instruction to recall tool description#411

Merged
BYK merged 1 commit into
mainfrom
fix/recall-marker-imitation
May 19, 2026
Merged

fix: add anti-imitation instruction to recall tool description#411
BYK merged 1 commit into
mainfrom
fix/recall-marker-imitation

Conversation

@BYK
Copy link
Copy Markdown
Owner

@BYK BYK commented May 19, 2026

Summary

Prevents the model from writing text that mimics recall markers instead of actually calling the recall tool.

Problem

In CM-1 eval (live mode), the model sometimes writes text like 📚 Fetching details for t:e8a949d7... and t:36d96080... simultaneously… as its final answer instead of invoking the recall tool. The model sees recall markers in prior assistant turns and imitates the pattern.

Changes

  • Appends an explicit anti-imitation instruction to RECALL_TOOL_DESCRIPTION in packages/core/src/recall.ts, telling the model never to write recall status markers itself — they are injected by the system automatically

Closes #409

The model sometimes writes text mimicking recall markers (e.g.
'📚 Fetching details for t:... simultaneously…') instead of calling
the recall tool. Add an explicit instruction to RECALL_TOOL_DESCRIPTION
telling the model never to write these markers itself.

Closes #409
@BYK BYK self-assigned this May 19, 2026
@BYK BYK merged commit 2c10162 into main May 19, 2026
10 checks passed
@BYK BYK deleted the fix/recall-marker-imitation branch May 19, 2026 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: model writes marker-like text instead of calling recall tool

1 participant