Skip to content

恢复session失败 #477

@ugrg

Description

@ugrg

What version of Kimi Code is running?

0.10.1

Which open platform/subscription were you using?

kimi code

Which model were you using?

Kimi-k2.6 thinking

What platform is your computer?

windows 11

What issue are you seeing?

更新kimi code后想恢复之前的session,使用kimi -r失败。

     context: 69.0% (180.9k/262.1k)

Bye!

To resume this session: kimi -r session_bbb38a93-8c05-4524-8393-79a04ac94b70
(notam) PS > kimi -r session_bbb38a93-8c05-4524-8393-79a04ac94b70
Session "session_bbb38a93-8c05-4524-8393-79a04ac94b70" was created under a different directory.
cd "
" && kimi -r session_bbb38a93-8c05-4524-8393-79a04ac94b70

error: failed to start shell: Session "session_bbb38a93-8c05-4524-8393-79a04ac94b70" was created under a different directory.
See log: C:/Users/**/.kimi-code/logs/kimi-code.log

What steps can reproduce the bug?

(base) PS ***> kimi

╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ ▐█▛█▛█▌ Welcome to Kimi Code! │
│ ▐█████▌ Send /help for help information. │
│ │
│ Directory: *** │
│ Session: session_77756f95-bb39-44a1-b363-af948f1420b5 │
│ Model: Kimi-k2.6 │
│ Version: 0.10.1 │
│ │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

✨ 你好

● 用户只是说了"你好",这是一个简单的问候。我应该用中文回复,因为用户使用了中文。这是一个简单的对话,不需要使用任何工具

● 你好!很高兴为你服务。有什么我可以帮你的吗?
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ > │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Kimi-k2.6 thinking *** ctrl+s: steer mid-turn | /compact: compact context
context: 5.7% (15.1k/262.1k)

Bye!

To resume this session: kimi -r session_77756f95-bb39-44a1-b363-af948f1420b5
(base) PS *> kimi -r session_77756f95-bb39-44a1-b363-af948f1420b5
Session "session_77756f95-bb39-44a1-b363-af948f1420b5" was created under a different directory.
cd "
" && kimi -r session_77756f95-bb39-44a1-b363-af948f1420b5

error: failed to start shell: Session "session_77756f95-bb39-44a1-b363-af948f1420b5" was created under a different directory.
See log: C:/Users/***/.kimi-code/logs/kimi-code.log
Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\win\async.c, line 76

What is the expected behavior?

恢复之前的session.

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