continue icon indicating copy to clipboard operation
continue copied to clipboard

Enable multiple choices for tab /completions endpoint.

Open ELigoP opened this issue 1 year ago • 1 comments

Validations

  • [x] I believe this is a way to improve. I'll try to join the Continue Discord for questions
  • [x] I'm not able to find an open issue that requests the same enhancement

Problem

When I hover over proposed completion, I always see 1/1. It is very useful and improves productivity when you don't like the first completion and have several choices how to complete. I've read https://docs.continue.dev/reference , haven't found suitable config option.

Solution

I think completionOptions is suitable for this, and OpenAI API corresponding field is https://platform.openai.com/docs/api-reference/completions/create#completions-create-n ( How many completions to generate for each prompt. ).

ELigoP avatar Feb 06 '25 13:02 ELigoP

Is this implemented? According to docs, there is "n". However, I use ollama and always get 1/1 regardless of "n" value.

Image

tomhanax avatar Apr 25 '25 11:04 tomhanax

@tomhanax I believe these docs are out of date. For now, I updated them to avoid confusion: https://github.com/continuedev/continue/pull/5674

Regarding introducing this, we are currently in the middle of a stability push where we focus on better reliability of existing features instead of introducing new ones.

We can probably add this eventually if there's enough demand.

tomasz-stefaniak avatar May 14 '25 20:05 tomasz-stefaniak

This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

github-actions[bot] avatar Aug 13 '25 02:08 github-actions[bot]

Bump this.

ELigoP avatar Aug 13 '25 07:08 ELigoP