Skip to content

feat: more loosely match context for apply_patch #610

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

Merged
merged 6 commits into from
Apr 24, 2025
Merged

Conversation

md-oai
Copy link
Contributor

@md-oai md-oai commented Apr 24, 2025

More of a proposal than anything but models seem to struggle with composing valid patches for apply_patch for context matching when there are unicode look-a-likes involved. This would normalize them.

top-level          # ASCII
top-level          # U+2011 NON-BREAKING HYPHEN
top–level          # U+2013 EN DASH
top—level          # U+2014 EM DASH
top‒level          # U+2012 FIGURE DASH

thanks unicode.

@md-oai md-oai merged commit 9b10296 into main Apr 24, 2025
2 checks passed
@md-oai md-oai deleted the md/unicode-interop branch April 24, 2025 16:05
@github-actions github-actions bot locked and limited conversation to collaborators Apr 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants