MoonshotAI / MoonshotAI/kimi-code

v0.6.0: (maxSteps=100) 频繁触发,Python 版无此问题

Open
#297 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
7.5k
Forks
1.2k
Avg merge
11h 53m
Merged PRs (30d)
350

Description

Summary

新版 TypeScript Kimi Code v0.6.0 频繁出现 loop.max_steps_exceeded 错误(maxSteps=100),一天内触发了 3 次。旧版 Python kimi-cli 在相同使用场景下没有这个现象。

Steps to Reproduce

正常使用 Kimi Code 进行多步骤编程任务,执行约 100 步后被强制终止。

Expected Behavior

  • 不应在 100 步就硬限制退出,或者应支持 --continue 从断点恢复
  • 旧版 Python CLI 没有这个硬性步数限制

Environment

  • Kimi Code: v0.6.0 (TypeScript, native binary)
  • macOS arm64

Additional Context

这个限制对于复杂编程任务(多文件重构、调试循环等)太低了,100 步很容易跑满。建议:

  1. 提高默认 maxSteps 上限
  2. 或允许用户通过参数/配置自定义上限
  3. 或支持 --continue 从中断处继续

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by reproducing the v0.6.0 TypeScript CLI behavior around maxSteps=100, then trace where the step limit is enforced and compare it with the Python CLI behavior described in the issue. Done means complex tasks no longer stop unexpectedly, with a clear decision on raising or configuring the limit or supporting --continue.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.