MoonshotAI / MoonshotAI/kimi-cli

kimi code 支持 OAI,这样才能直接使用原生的vscode,要方便很多

Open
#1,898 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

What feature would you like to see?

支持 vscode OAI 插件

Additional information
Sorry, your request failed. Please try again.

Copilot Request id: af5a2375-d5f5-48a8-98a0-f0e02446dd1d

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/41dd792b5e/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/41dd792b5e/resources/app/out/vs/code/electron-browser/workbench/workbench.html) at c:\Users\xieyushen.vscode\extensions\johnny-zhao.oai-compatible-copilot-0.3.4\out\provider.js:395: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.4\out\utils.js:299:20) at async HuggingFaceChatModelProvider.provideLanguageModelChatResponse (c:\Users\xieyushen.vscode\extensions\johnny-zhao.oai-compatible-copilot-0.3.4\out\provider.js:386:34)

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

The report names VS Code’s OAI-compatible extension, its provider.js/utils.js stack trace, and the /coding/v1/chat/completions endpoint, but no kimi-cli file or test. Start by locating the repository’s API integration entry point and clarify whether support means accepting this VS Code client; done criteria should include a documented, reproducible successful request.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
api, devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.