Skip to content

Conversation

sestinj
Copy link
Contributor

@sestinj sestinj commented Oct 14, 2025

Summary by cubic

Removes Mercury-specific autocomplete postprocessing and fixes code fence parsing so Mercury code blocks are extracted correctly. Improves completion accuracy for Mercury outputs.

  • Bug Fixes
    • Limit repeated-line trimming to Granite models; remove Mercury special case.
    • Extract code up to the last "\n" (not "\n\n") to handle single-newline fences and avoid truncation.

@sestinj sestinj requested a review from a team as a code owner October 14, 2025 18:21
@sestinj sestinj requested review from tingwai and removed request for a team October 14, 2025 18:21
@sestinj sestinj changed the title fix(autocomplete): remove mercury model special handling and adjust code block extraction hotfix(autocomplete): remove mercury model special handling and adjust code block extraction Oct 14, 2025
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 2 files

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Oct 14, 2025
@sestinj sestinj merged commit 48a918c into main Oct 14, 2025
58 checks passed
@sestinj sestinj deleted the nate/mercury-postprocessing-update branch October 14, 2025 19:59
@github-project-automation github-project-automation bot moved this from Todo to Done in Issues and PRs Oct 14, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Oct 14, 2025
@sestinj
Copy link
Contributor Author

sestinj commented Oct 15, 2025

🎉 This PR is included in version 1.28.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor Author

sestinj commented Oct 15, 2025

🎉 This PR is included in version 1.25.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor Author

sestinj commented Oct 15, 2025

🎉 This PR is included in version 1.2.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

released size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant