Skip to content

Impossible to resume crashed sessions #660

@jilek-josef

Description

@jilek-josef

What version of Kimi Code is running?

0.14.0

Which open platform/subscription were you using?

Kimi Code

Which model were you using?

kimi-k2.6

What platform is your computer?

Linux

What issue are you seeing?

When session is killed midflight by OOM or other events, it usually becomes impossible to resume. It loads but in case there in an incomplete tool call it will get stuck on error similar to this
Error: [provider.api_error] 400 an assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'. The following tool_call_ids did not have response messages: Agent:122
If this persists, run /export-debug-zip and share the file with us for diagnosis. Please don't share it publicly.

What steps can reproduce the bug?

start kimi, let it execute something with tool calls, forcefully kill it when it's calling a tool, load the session again and try to write a message

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions