Skip to content

Generation terminates on unstable networks instead of retrying/resuming #1540

@Manni1000

Description

@Manni1000

What version of Kimi Code CLI is running?

kimi, version 1.22.0

Which open platform/subscription were you using?

kimi code Allegretto

Which model were you using?

kimi-for-coding

What platform is your computer?

Linux 6.11.11-valve26-1-neptune-611-gb3afa9aa9ae7 x86_64 unknown

What issue are you seeing?

When using kimi-cli /kimi web over an unstable mobile hotspot connection with high latency, network interruptions cause the generation to terminate completely rather than pausing and retrying/resuming once connectivity returns.

  • Connection drops immediately on network instability
  • Generation stops mid-stream without recovery
  • Requires manual restart of the query

What steps can reproduce the bug?

  1. Connect via mobile hotspot with high latency or packet loss
  2. Start a long generation: kimi "explain quantum computing in detail"
  3. Simulate network instability (toggle airplane mode briefly, or move to dead zone)
  4. Observe that generation terminates instead of waiting/resuming

What is the expected behavior?

Expected Behavior

The CLI should:

  1. Detect connection interruptions
  2. Resume streaming from the last successful chunk/position
  3. Or at minimum, wait longer before giving up on high-latency connections

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions