mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
Claude Code chèn role:system cuối messages[], trước đây bị map thành assistant khiến hội thoại không kết thúc bằng user → provider OpenAI-compat (LiteLLM) dịch ngược Anthropic trả 400 "assistant message prefill". Map system -> user và wrap <system-reminder> để giữ ngữ nghĩa instruction. Co-authored-by: Cursor <cursoragent@cursor.com>