Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

AI 回复中段出现韩文内容,语言混乱

Open 1737894252 opened this issue 2 months ago • 2 comments

Before opening, please confirm:

Operating System

OS: Windows_NT x64 10.0.26200

Kiro Version

版本: 1.0.437 (user setup) 提交: 1.109.5 日期: 5349479558af37fecbfcdb58c199ee59d86d4dd3 Electron: 2026-09-01T20:29:34.876Z ElectronBuildId: 39.6.0 Chromium: 142.0.7444.265 Node.js: 22.22.0 V8: 14.2.231.22-electron.0

Bug Description

在长对话中进行代码分析任务,分析大量 Java 代码后的某次回复末尾出现了韩文段落

Steps to Reproduce

在长对话中进行代码分析任务,分析大量 Java 代码后的某次回复末尾出现了韩文段落

Image

Expected Behavior

输入中文,回复中文

Conversation ID

sess_5e35bf50-0ecd-4b7d-a748-96031d64fb60

Additional Context

先看 里记账发出去之后怎么更新 的。找到关键位置了。看 第 205 行——记账任务发出后, 的 更新为,但 的 是在 `` 里更新的(第 359、378、422 行)。

直接看 方法本体:이제 알았습니다.에서 호출 후에는 **의 ``를 업데이트하지 않습니다**.

이 메서드가 업데이트하는 건 이고, 의 업데이트는 **PT 회신()**이 왔을 때에서 처리합니다.


결론: 아직 2가 아닙니다.

`` 로그가 나왔다는 건:

  • PT에 기장 요청을 보냈다는 것

하지만 .의 값은:

  • 1(NOT_BOOKKEEPING) → 아직 PT 회신 없음
  • 2(BOOKKEEPING) → PT 회신 받음

지금 상황은 아마 아직 1일 가능성이 높습니다. PT가 기장을 처리하고 회신 Kafka 메시지를 보내야 .()가 처리해서 2로 업데이트합니다.

실제 값을 바로 확인해보세요:

1737894252 avatar Sep 15 '26 12:09 1737894252

Thanks for reporting this issue! 🙏 We can see that during a long conversation involving Java code analysis, the AI response unexpectedly switched from Chinese to Korean mid-reply, which is definitely not the expected behavior. A maintainer will review this shortly and take a closer look at what's going on with the language consistency. We appreciate you including the conversation ID and detailed context — that's really helpful for tracking this down!

github-actions[bot] avatar Sep 15 '26 12:09 github-actions[bot]

Thanks for reporting this. Occasional language mixing in long sessions — particularly with multilingual code or comments — is a known model-quality signal we track. It typically occurs when the context window contains significant content in multiple languages and the model loses its output-language anchor. We're tracking this pattern with the model team.

AnilMaktala avatar Sep 15 '26 13:09 AnilMaktala