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

Implement basic fill-in-the-middle support #63

Merged
merged 25 commits into from
Jun 2, 2024
Merged

Implement basic fill-in-the-middle support #63

merged 25 commits into from
Jun 2, 2024

Conversation

lmg-anon
Copy link
Owner

@lmg-anon lmg-anon commented May 20, 2024

This allows prediction from any arbitrary position in the text, currently it will predict until the next character is reached.

fill_example.mp4
predict_example.mp4

@lmg-anon
Copy link
Owner Author

lmg-anon commented Jun 2, 2024

This looks good to merge now. The only issues are that undo/redo won't work for the fill-in-the-middle tokens until #66 gets merged. Also, switching tokens doesn't support fill-in-the-middle tokens yet, so I disabled it for them. To be honest, I'm not sure how to implement this, but I think it can be addressed later.

@lmg-anon lmg-anon marked this pull request as ready for review June 2, 2024 16:06
@lmg-anon lmg-anon merged commit 2e486f4 into main Jun 2, 2024
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.

1 participant