Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- **fix(streaming):** mid-stream continuation now resumes truncated Responses-API streams (text deltas replayed as an assistant input item behind the same setting); a short complete Responses turn ending in `response.completed` is never re-requested ([#14639](https://github.com/diegosouzapw/OmniRoute/pull/14639)) — thanks @maxmad64bis
2 changes: 1 addition & 1 deletion open-sse/handlers/chatCore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3429,7 +3429,7 @@ export async function handleChatCore({

// Mid-stream continuation (Fase 4.4): re-request with the partial text as an
// assistant prefill. Gated by its own setting and only for OpenAI-compatible
// bodies (makeContinuationBody returns null otherwise).
// request bodies, chat or Responses (makeContinuationBody returns null otherwise).
const continueStream = continueMidStreamEnabled
? (assistantSoFar: string) => {
const continuationBody = makeContinuationBody(
Expand Down
Loading
Loading