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

core: Limit the # of completion candidates returned per request + mark response (in)complete when necessary #233

Merged
merged 2 commits into from
Jul 1, 2023

Conversation

artempyanykh
Copy link
Owner

@artempyanykh artempyanykh commented Jul 1, 2023

Now the server returns at most 50 candidates. The response is marked as incomplete when the # is exactly 50, otherwise it's marked complete and the client doesn't need to issue any additional requests.

…k response (in)complete when necessary

Now the server returns at most 50 candidates. The response is marked as incomplete when the # is exactly 50, otherwise it's marked complete and the client doesn't need to issue any additional requests.
@artempyanykh artempyanykh merged commit 97da2ea into main Jul 1, 2023
3 checks passed
@artempyanykh artempyanykh deleted the limit-compl branch July 1, 2023 19:43
@narutohahahaha
Copy link

narutohahahaha commented Nov 19, 2023

Hi there @artempyanykh,

I wonder would it be possible to allow users to configure the candidate amount limits. My project contains a lot of markdown files (e.g., a daily journal dir) so the limit makes the suggestion incomplete all the time.

@artempyanykh
Copy link
Owner Author

Hi @narutohahahaha! Yeah, sounds reasonable to me. Could you file an issues with a feature request please?

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