Repository navigation
Conversation
1 task done
Owner
|
Thanks for working on this. I'd prefer to keep the OpenAI-compatible endpoints aligned with the official API rather than introduce a custom preview event format that requires client-specific handling. Users who need previews should use the native sdcpp API. |
Contributor
Author
|
Sorry I trusted the AI agent for not messing up the event format from the official API, I guess it tried implementing it from memory rather than looking up the docs. It should be actually compatible now. |
stduhpf
force-pushed
the
openai-api-previews
branch
from
October 6, 2026 18:18
5959870 to
2c4ef0a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
It's a little bit more tricky than the two other APIs, because it uses SSE streaming rather than polling, but with the help of a LLM I think I got it working. Only Latent2RGB/Proj previews are supported right now.
Related Issue / Discussion
#2093 #2096
Checklist