Skip to content

Wire eagernessPrompt in from /models - #333279

Draft
Benjamin Steenhoek (bstee615) wants to merge 2 commits into
microsoft:mainfrom
bstee615:bstee615-wire-models-eagerness-prompt
Draft

Wire eagernessPrompt in from /models#333279
Benjamin Steenhoek (bstee615) wants to merge 2 commits into
microsoft:mainfrom
bstee615:bstee615-wire-models-eagerness-prompt

Conversation

@bstee615

@bstee615 Benjamin Steenhoek (bstee615) commented Aug 28, 2026

Copy link
Copy Markdown
Member

Summary

  • accept the optional capabilities.eagernessPrompt string from Proxy /models responses
  • propagate the supported aggressionHighLow value into fetched inline edits model configuration without fabricating a fallback

Dependencies

Validation

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.

Copilot review overview

Review tier: Balanced
Findings: None

What changed in this PR

Wires model-provided inline-edit eagerness prompts from Proxy responses into model configuration.

Changes:

  • Validates the optional capabilities.eagernessPrompt.
  • Propagates only the supported aggressionHighLow value.
  • Enables eagerness handling for PatchBased02Optimized with tests.
File Description
proxyModelsService.spec.ts Tests optional capability validation.
xtabPromptOptions.spec.ts Tests optimized-strategy recognition.
inlineEditsModelService.ts Propagates supported prompt values.
xtabPromptOptions.ts Enables the optimized strategy path.
inlineEditsModelsTypes.ts Extends Proxy wire validation.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@bstee615 Benjamin Steenhoek (bstee615) changed the title Wire model-provided inline edits eagerness prompts Wire eagernessPrompt in from /models Aug 29, 2026
Treat the optimized PatchBased02 unified strategy as eagerness-aware when a model supplies an eagerness prompt, while preserving non-eagerness behavior for unrelated strategies.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2bce40ed-b23b-4b38-8c2a-11a9b30a08ce
@bstee615
Benjamin Steenhoek (bstee615) force-pushed the bstee615-wire-models-eagerness-prompt branch from 926015e to ae187fc Compare August 31, 2026 18:40
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.

2 participants