Skip to content

Conversation

@jpoly1219
Copy link
Contributor

@jpoly1219 jpoly1219 commented Aug 8, 2025

Description

Closes CON-3231.
Add support for more models by adding templates.

Checklist

  • I've read the contributing guide
  • The relevant docs, if any, have been updated or created
  • The relevant tests, if any, have been updated or created

Screen recording or screenshot

[ When applicable, please include a short screen recording or screenshot - this makes it much easier for us as contributors to review and understand your changes. See this PR as a good example. ]

Tests

core/nextEdit/context/diffFormatting.vitest.ts
core/nextEdit/templating/model1.vitest.ts


Summary by cubic

Added support for more models by introducing model-specific templates and context formatting, meeting the requirements of CON-3231.

  • New Features

  • Added template and formatting logic for "model-1" including context snippet parsing and edit history blocks.

  • Updated NextEditProvider and related functions to handle model-specific context and prompt variables.

  • Added new tokens for context and snippet identification.

  • Tests

  • Added unit tests for new context formatting and templating helpers.

@jpoly1219 jpoly1219 requested a review from a team as a code owner August 8, 2025 18:18
@jpoly1219 jpoly1219 requested review from Patrick-Erichsen and removed request for a team August 8, 2025 18:18
@dosubot dosubot bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Aug 8, 2025
@github-actions

This comment was marked as resolved.

@jpoly1219 jpoly1219 changed the title Jacob/con 3231 feat: add more prompt templates Aug 8, 2025
@github-project-automation github-project-automation bot moved this from Todo to In Progress in Issues and PRs Aug 8, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 8, 2025
@jpoly1219 jpoly1219 merged commit 17c2b72 into main Aug 11, 2025
63 of 65 checks passed
@jpoly1219 jpoly1219 deleted the jacob/con-3231 branch August 11, 2025 16:32
@github-project-automation github-project-automation bot moved this from In Progress to Done in Issues and PRs Aug 11, 2025
@github-actions github-actions bot added the tier 1 Big feature that took multiple weeks to launch and represents a big milestone for the product label Aug 11, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Aug 11, 2025
@sestinj
Copy link
Contributor

sestinj commented Aug 18, 2025

🎉 This PR is included in version 1.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor

sestinj commented Aug 18, 2025

🎉 This PR is included in version 1.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

lgtm This PR has been approved by a maintainer released size:XXL This PR changes 1000+ lines, ignoring generated files. tier 1 Big feature that took multiple weeks to launch and represents a big milestone for the product

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants