MoonshotAI / MoonshotAI/kimi-cli

kimi code 支持 OAI (johnny-zhao.oai-compatible-copilot)

Open
#1,947 4 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?

2.5

Which open platform/subscription were you using?

vscode

Which model were you using?

2.5

What platform is your computer?

x64

What issue are you seeing?

Sorry, your request failed. Please try again.

Copilot Request id: 21fc2a95-b27f-40a0-980c-9b9a7a73dc49

Reason: OAI Compatible API error: [403] Forbidden {"error":{"message":"Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.","type":"access_terminated_error"}} URL: https://api.kimi.com/coding/v1/chat/completions: Error: OAI Compatible API error: [403] Forbidden {"error":{"message":"Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.","type":"access_terminated_error"}} URL: https://api.kimi.com/coding/v1/chat/completions at c:\Users\xieyushen.vscode\extensions\johnny-zhao.oai-compatible-copilot-0.3.5\out\provider.js:400:31 at process.processTicksAndRejections (node:internal/process/task_queues:103:5) at async executeWithRetry (c:\Users\xieyushen.vscode\extensions\johnny-zhao.oai-compatible-copilot-0.3.5\out\utils.js:301:20) at async HuggingFaceChatModelProvider.provideLanguageModelChatResponse (c:\Users\xieyushen.vscode\extensions\johnny-zhao.oai-compatible-copilot-0.3.5\out\provider.js:391:34)

Sorry, your request failed. Please try again.

Copilot Request id: 21fc2a95-b27f-40a0-980c-9b9a7a73dc49

Reason: OAI Compatible API error: [403] Forbidden {"error":{"message":"Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.","type":"access_terminated_error"}} URL: [https://api.kimi.com/coding/v1/chat/completions](vscode-file://vscode-app/c:/Users/xieyushen/AppData/Local/Programs/Microsoft%20VS%20Code/560a9dba96/resources/app/out/vs/code/electron-browser/workbench/workbench.html): Error: OAI Compatible API error: [403] Forbidden {"error":{"message":"Kimi For Coding is currently only available for Coding Agents such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.","type":"access_terminated_error"}} URL: [https://api.kimi.com/coding/v1/chat/completions](vscode-file://vscode-app/c:/Users/xieyushen/AppData/Local/Programs/Microsoft%20VS%20Code/560a9dba96/resources/app/out/vs/code/electron-browser/workbench/workbench.html) at c:\Users\xieyushen.vscode\extensions\johnny-zhao.oai-compatible-copilot-0.3.5\out\provider.js:400:31 at process.processTicksAndRejections (node:internal/process/task_queues:103:5) at async executeWithRetry (c:\Users\xieyushen.vscode\extensions\johnny-zhao.oai-compatible-copilot-0.3.5\out\utils.js:301:20) at async HuggingFaceChatModelProvider.provideLanguageModelChatResponse (c:\Users\xieyushen.vscode\extensions\johnny-zhao.oai-compatible-copilot-0.3.5\out\provider.js:391:34)
What steps can reproduce the bug?

使用 OAI Compatible Provider for Copilot (johnny-zhao.oai-compatible-copilot) 适配KIMI就会出现

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

Reproduce the failure with the OAI Compatible Provider for Copilot in VS Code and the Kimi coding endpoint shown in the report. Start by reviewing the referenced provider.js request path and the 403 response; done requires determining whether this integration is supported and documenting or addressing the observed behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
api, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.