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

[BUG] Answer not complete #7

Open
iradraconis opened this issue Sep 19, 2024 · 6 comments
Open

[BUG] Answer not complete #7

iradraconis opened this issue Sep 19, 2024 · 6 comments

Comments

@iradraconis
Copy link

Thanks for this extension! This will be really helpful. I noticed that the answers often are not complete and stop in the middle of the sentence. That is independent of the used model. Any ideas?

@MGdesigner
Copy link

Confirmed. I also found the situation.

@balisujohn
Copy link
Owner

So right now, there is a fixed amount of new tokens generated in ExtendSelection and that number is hard-coded to 70. I plan to make that configurable in settings.

@balisujohn
Copy link
Owner

Please see the newest release for the ability to set the max token count: https://github.com/balisujohn/localwriter/releases/tag/v0.0.5

@iradraconis
Copy link
Author

thank you for your immediate update. Could you explain the added options and give advice on what the user should enter/select for certain use cases?

@balisujohn
Copy link
Owner

I added some explanations in the "Settings" section of the README.

@balisujohn
Copy link
Owner

balisujohn commented Sep 25, 2024

Also, if you are finding that it always starts a new sentence instead of continuing your sentence with extend selection and you are using ollama, you can use text-generation-webui instead and this problem will not occur. I am looking into how to make ollama work correctly, but it seems to produce a different behavior than text-generation-webui for the same API request.

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

No branches or pull requests

3 participants