Add Kimi Prompt#323169
Draft
Giuspepe wants to merge 3 commits into
Draft
Conversation
Contributor
Author
|
/requires-eval-assessment terminalbench2,vscbench kimi-k2.6,kimi-k2.7-code |
Contributor
There was a problem hiding this comment.
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
Contributor
|
🔬 Queued eval-assessment benchmark for
Results will be posted back here when the run completes. |
Contributor
|
📊 Eval-assessment benchmark complete.
🧪 Results |
Contributor
|
📊 Eval-assessment benchmark complete.
🧪 Results |
Contributor
|
📊 Eval-assessment benchmark complete.
🧪 Results |
Contributor
|
📊 Eval-assessment benchmark complete.
🧪 Results |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.