Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

"Generate Commit Message" 功能不遵循 Steering 规则中的语言偏好设置

Open chaosHitter opened this issue 10 months ago • 3 comments

Before opening, please confirm:

Operating System

win32

Kiro Version

0.8.86

Bug Description

在 .kiro/steering/language-preference.md 中明确设置了使用中文编写 commit message 的规则,但 IDE 的 "Generate Commit Message" 功能仍然生成英文的提交信息。

Steps to Reproduce

  1. 创建 .kiro/steering/language-preference.md 文件,内容如下:
# 语言偏好设置

## Git Commit Message
- **必须使用中文**编写 commit message
- 格式:简短的中文标题 + 详细的中文说明(如需要)
  1. 重启 Kiro IDE
  2. 修改代码文件后,使用 IDE 的 "Generate Commit Message" 功能
  3. 观察生成的提交信息,生成的 commit message 仍然是英文

Expected Behavior

根据 steering 规则,应该生成中文的 commit message

Conversation ID

8ffbe943-16c6-49ea-a647-a574f69d0a78 7ea012ad-456b-4465-898f-313e40231d15

Additional Context

No response

chaosHitter avatar Jan 14 '26 03:01 chaosHitter

建议 generate commit message 增加 自定义提示词覆盖

Code4Bug avatar Jan 20 '26 03:01 Code4Bug

Cheapest Anthropic & OpenAI-Compatible API 🚀

Works with Claude Code, Cursor, Cline, Void, Continue, Kilo Code, OpenClaw, OpenCode, LangChain, Obsidian, IntelliJ — any OpenAI-compatible client.

💰 Pricing (1 credit ≈ $1 original Anthropic)

Credits Price Tokens
1k $5 ~100M
5k $15 ~500M
10k $30 ~1B

🤖 Models: claude-opus-4-6 / sonnet-4-6 / haiku-4-5 (1M ctx + websearch)

✅ Why us?

  • 100 trial credits before payment
  • Credits issued before payment
  • Any country, any payment method
  • 400+ clients, quality guarantee
  • We can prove Opus is real and explain pricing

📩 Telegram: @yon_sup

shalegeomancerslicer avatar Apr 09 '26 01:04 shalegeomancerslicer

Closing this issue as it was reported against an older version of Kiro (v0.x or early v1.x) and has had no activity in several months.

Kiro has shipped significant improvements since these versions, including stability fixes, new features, and major changes across v1.0, v1.1, v2.x, and the current v2.23.x releases. The behavior described here may already be resolved.

If this is still affecting you on the latest version, please open a new issue at https://github.com/kirodotdev/Kiro/issues/new with your current version (kiro-cli --version or Help > About in the IDE), your OS, and steps to reproduce. The latest version is available at https://kiro.dev/downloads/ or via kiro-cli update.

Thank you for taking the time to report this.

AnilMaktala avatar Sep 24 '26 13:09 AnilMaktala