fix(planner): plan in the query's own writing system only
Live 2026-11-18 '자비 사과랑 배 중에 뭐가 더 달아' was searched as '사과와 배 중哪个가 더 단가요'. The rule and the user message's closing line now say to use only the query's letters. Eval test_search_in_users_language.py, new case fruit (qwen3.6-35b-a3b, game PC): Han in the search 7/7 before; rule only 3/3, closing line only 3/3, both 0/6; whole file 12/12. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -17,8 +17,8 @@ Netflix dramas searched in English and recommended American shows; eval
|
||||
Letters of a writing system the user did not use are dropped from the query before any provider
|
||||
runs (`_drop_foreign_script`, by Unicode script name against `context.redacted_text`; Latin is always
|
||||
kept for brand names and model numbers). Live 2026-11-18 a Hangul question was searched as
|
||||
"사과와 배 중哪个가 더 단가요". The same eval checks that no other script is mixed in; the planner
|
||||
alone did not reproduce it in 24 runs, so no prompt rule was added for it.
|
||||
"사과와 배 중哪个가 더 단가요". The planner is also told to use only the query's writing system
|
||||
(planner.spec.md); `evals/test_search_in_users_language.py` checks that no other script is mixed in.
|
||||
|
||||
### Real-time info routing (`STREAM_BROWSER`)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user