[GH-ISSUE #2277] [Other] add legacy /v1/completions for raw-prompt clients #916

Closed
opened 2026-11-04 01:47:01 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @kossum on GitHub (Oct 13, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2277

Area

Other

What do you want to do?

Use /v1/completions with clients that already build their own prompts. They need to send a string without having the server apply another chat template, and get the legacy OpenAI response format back (text_completion, cmpl- IDs and token usage). Both streaming and non-streaming requests are needed.

I checked the routes on main e88ee39d (0.2.0-beta). There is still no /v1/completions handler without the changes from #2278. I checked this in the source; I haven't repeated the request against an unmodified live release.

For now, the client has to be adapted to the chat API or used with another server that supports raw-prompt completions.

The implementation is in #3332, which replaces #2278 after GitHub wouldn't reopen it. The earlier review and fixes are in #2278.

Originally created by @kossum on GitHub (Oct 13, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/2277 ### Area Other ### What do you want to do? Use `/v1/completions` with clients that already build their own prompts. They need to send a string without having the server apply another chat template, and get the legacy OpenAI response format back (`text_completion`, `cmpl-` IDs and token usage). Both streaming and non-streaming requests are needed. I checked the routes on main `e88ee39d` (0.2.0-beta). There is still no `/v1/completions` handler without the changes from #2278. I checked this in the source; I haven't repeated the request against an unmodified live release. For now, the client has to be adapted to the chat API or used with another server that supports raw-prompt completions. The implementation is in #3332, which replaces #2278 after GitHub wouldn't reopen it. The earlier review and fixes are in #2278.
Author
Owner

@Niko1221 commented on GitHub (Oct 19, 2026):

Thanks for taking the time to report this.

We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6270922458 --> @Niko1221 commented on GitHub (Oct 19, 2026): Thanks for taking the time to report this. We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Author
Owner

@kossum commented on GitHub (Oct 20, 2026):

/reopen

<!-- gh-comment-id:6282707411 --> @kossum commented on GitHub (Oct 20, 2026): /reopen
Author
Owner

@github-actions[bot] commented on GitHub (Oct 20, 2026):

Reopened, thank you. A maintainer will pick it up from here.

<!-- gh-comment-id:6282709516 --> @github-actions[bot] commented on GitHub (Oct 20, 2026): Reopened, thank you. A maintainer will pick it up from here.
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Thanks for taking the time to report this.

Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.11. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6659280877 --> @Niko1221 commented on GitHub (Nov 5, 2026): Thanks for taking the time to report this. Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.11. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#916
No description provided.