Repository navigation
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 15 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Review at 29b9073: approve.
LOW: Queued for the next merge train. |
✅ SSOT Configuration Compliance: Passing🎉 No new hardcoded values of either class — Known backlog in |
|
Delta check at 3889982: approve. There is no code-logic change since 29b9073.
Queued for the next merge train. |
…he main checkout (#18442)
|
Review of commit
Verified fine:
|
…at MEASUREMENT_DISCIPLINE (#18442)
|
Delta check at a13ac4d: approve. The Medium is fixed.
Commit |
Thinking Path
Latvian and Polish are UI locales but had no response-language name, so the prompt said "respond in lv (lv)". The map also existed twice and the prompt_manager copy had drifted (13 vs 16). The module that owns the canonical map imports lazily, which is why the copy existed, so the fix is a leaf module in
autobot_sharedthat both import.What Changed
autobot_shared/supported_languages.pyholds the singleSUPPORTED_LANGUAGES(18 entries, addslvLatvian andplPolish).services/personality_service.pyandprompt_manager.pyimport it; both inline definitions are deleted. Repo-wide grep of tracked files found no other definition; existing importers (api/personality.py,api/schemas_agent.py) keep working through the re-exported name.prompt_manager.pyshrank 1481 -> 1462 lines; the ceiling is lowered to 1462 in both records.autobot_shared/supported_languages_test.py: every frontend locale file has an entry;get_language_instruction("lv")containsLatvian (lv)andplcontainsPolish (pl); prompt_manager uses the shared object.Verification
-k "personality or prompt_manager or language": 56 passed, 1 skipped.Model Used
Claude Sonnet 5.5
Closes #18442
🤖 Generated with Claude Code