Skip to content

Add Kimi Prompt#323169

Draft
Giuspepe wants to merge 3 commits into
mainfrom
kimi-prompt
Draft

Add Kimi Prompt#323169
Giuspepe wants to merge 3 commits into
mainfrom
kimi-prompt

Conversation

@Giuspepe

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings June 26, 2026 17:06
@Giuspepe

Copy link
Copy Markdown
Contributor Author

/requires-eval-assessment terminalbench2,vscbench kimi-k2.6,kimi-k2.7-code

@Giuspepe Giuspepe added the ~requires-eval-assessment Evals will be run and will generate a report upon completion label Jun 26, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Kimi model support to the Copilot extension by introducing a Kimi-specific agent system prompt and wiring Kimi model detection into the edit-tool capability routing.

Changes:

  • Added isKimiFamily(...) and enabled replace-string edit tool capabilities for Kimi family models.
  • Registered a new Kimi agent prompt resolver and system prompt implementation.
  • Added unit tests covering both Kimi capability detection and prompt rendering/tool guidance.
Show a summary per file
File Description
extensions/copilot/src/platform/endpoint/common/chatModelCapabilities.ts Adds Kimi family detection and routes Kimi models to replace-string edit tool capabilities.
extensions/copilot/src/platform/endpoint/test/node/chatModelCapabilities.spec.ts Adds regression tests asserting Kimi edit-tool capability behavior (replace-string yes, apply-patch no).
extensions/copilot/src/extension/prompts/node/agent/kimiPrompts.tsx Introduces the Kimi-specific system prompt and prompt resolver registration.
extensions/copilot/src/extension/prompts/node/agent/test/kimiPrompts.spec.tsx Adds prompt rendering tests to validate Kimi-specific instructions and tool preference text.
extensions/copilot/src/extension/prompts/node/agent/allAgentPrompts.ts Registers the Kimi prompt module so it participates in prompt resolution.

Review details

  • Files reviewed: 5/5 changed files
  • Comments generated: 1
  • Review effort level: Low

Comment thread extensions/copilot/src/extension/prompts/node/agent/kimiPrompts.tsx
@jukasper jukasper added ~requires-eval-assessment Evals will be run and will generate a report upon completion and removed ~requires-eval-assessment Evals will be run and will generate a report upon completion labels Jun 26, 2026
@vs-code-engineering

Copy link
Copy Markdown
Contributor

🔬 Queued eval-assessment benchmark for 778136d8dc.

Results will be posted back here when the run completes.

@vs-code-engineering

Copy link
Copy Markdown
Contributor

📊 Eval-assessment benchmark complete.

🧪 Results

@vs-code-engineering vs-code-engineering Bot removed the ~requires-eval-assessment Evals will be run and will generate a report upon completion label Jun 27, 2026
@vs-code-engineering

Copy link
Copy Markdown
Contributor

📊 Eval-assessment benchmark complete.

🧪 Results

@vs-code-engineering

Copy link
Copy Markdown
Contributor

📊 Eval-assessment benchmark complete.

🧪 Results

@vs-code-engineering

Copy link
Copy Markdown
Contributor

📊 Eval-assessment benchmark complete.

🧪 Results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants