Skip to content

kimi code Failed to get models: 401 #1250

@viviansmlie

Description

@viviansmlie

What version of Kimi Code CLI is running?

kimi, version 1.14.0

Which open platform/subscription were you using?

/login

Which model were you using?

kimi-for-coding

What platform is your computer?

Linux 5.10.134-16.3.al8.x86_64 x86_64 x86_64

What issue are you seeing?

root@xxx💫 /login
Select a platform (↑↓ navigate, Enter select, Ctrl+C cancel):
1. Kimi Code

  1. Moonshot AI Open Platform (moonshot.cn)
    3. Moonshot AI Open Platform (moonshot.ai)
    Enter your API key: ************************************************************************
    Failed to get models: 401, message='Unauthorized', url='https://api.moonshot.cn/v1/models'

What steps can reproduce the bug?

root@***💫 /login
Select a platform (↑↓ navigate, Enter select, Ctrl+C cancel):
1. Kimi Code

  1. Moonshot AI Open Platform (moonshot.cn)
    3. Moonshot AI Open Platform (moonshot.ai)
    Enter your API key: ************************************************************************
    Failed to get models: 401, message='Unauthorized', url='https://api.moonshot.cn/v1/models'

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions