Skip to content

Add Kimi Prompt#323169

Merged
Giuspepe merged 3 commits into
mainfrom
kimi-prompt
Jun 29, 2026
Merged

Add Kimi Prompt#323169
Giuspepe merged 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

@Giuspepe Giuspepe marked this pull request as ready for review June 29, 2026 14:12
@Giuspepe Giuspepe enabled auto-merge June 29, 2026 14:19
@Giuspepe Giuspepe merged commit 2deeac4 into main Jun 29, 2026
57 of 59 checks passed
@Giuspepe Giuspepe deleted the kimi-prompt branch June 29, 2026 14:20
@Giuspepe Giuspepe added the ~release-cherry-pick Trigger: cherry-pick this PR to the latest release branch label Jun 29, 2026
@vs-code-engineering vs-code-engineering Bot added release-cherry-pick Automated cherry-pick between release and main branches and removed ~release-cherry-pick Trigger: cherry-pick this PR to the latest release branch labels Jun 29, 2026
@vs-code-engineering vs-code-engineering Bot added this to the 1.126.0 milestone Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-cherry-pick Automated cherry-pick between release and main branches

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants