Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit: Fix selectedCode and problemCode appearing in edits #1765

Merged
merged 3 commits into from
Nov 16, 2023

Conversation

umpox
Copy link
Contributor

@umpox umpox commented Nov 16, 2023

Description

Due to the prompt, the LLM sometimes gets confused and adds some of the mentioned XML tags (selectedCode|problemCode) to the start and end of the text.

We were only removing this from the end previously. This will fix that

Test plan

Create multiple edits. Check for selectedCode

@umpox umpox changed the title Edit: Fix selectedCode appearing in edits Edit: Fix selectedCode and problemCode appearing in edits Nov 16, 2023
@umpox umpox mentioned this pull request Nov 16, 2023
@umpox umpox merged commit 6cdf0ae into main Nov 16, 2023
13 checks passed
@umpox umpox deleted the tr/edit-fix-selectedCode branch November 16, 2023 11:06
@umpox umpox self-assigned this Nov 30, 2023
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.

None yet

2 participants