MoonshotAI / MoonshotAI/kimi-cli

Login to KimiCode getting error and unsuccesful after upgrade to 1.46

Open
#2,403 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
11.4k
Forks
1.3k
Avg merge
9h 47m
Merged PRs (30d)
2

Description

What version of Kimi Code CLI is running?

1.46

Which open platform/subscription were you using?

Kimi.com

Which model were you using?

No response

What platform is your computer?

Linux 6.14.0-37-generic x86_64 x86_64

What issue are you seeing?

After Kimi ClI asked to upgrade with using uv tool and I accepted to do that and upgraded itself to version 1.46, it logout and after I try to login again, it display me this error before reaching the browser:
Login failed: Expecting value: line 1 column 1 (char 0)

What steps can reproduce the bug?
  • open the kimi-cli in terminal
  • use /login
  • choose Kimi Code
What is the expected behavior?

No response

Additional information

No response

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

Start with the Kimi Code CLI /login flow after upgrading through uv tool, using the Linux reproduction described in the issue. Trace the response handling that produces Expecting value: line 1 column 1 (char 0) before the browser opens, and verify that selecting Kimi Code reaches the browser and completes login successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.