Skip to content

Fix retry and edit streaming parity - #1132

Merged
paullizer merged 3 commits into
Developmentfrom
paullizer-fix-retry-edit-streaming-parity
Jul 31, 2026
Merged

Fix retry and edit streaming parity#1132
paullizer merged 3 commits into
Developmentfrom
paullizer-fix-retry-edit-streaming-parity

Conversation

@paullizer

Copy link
Copy Markdown
Collaborator

Summary

  • Routes retry and edit requests through the full /api/chat/stream SSE generator instead of the legacy compatibility bridge.
  • Reuses the retry/edit user message created by the preparation endpoints so thread attempts, metadata, carousel state, and history remain aligned.
  • Adds regression coverage and fix documentation for the retry/edit streaming parity path.

Validation

  • python functional_tests\test_chat_retry_edit_streaming_parity.py
  • PYTHONIOENCODING=utf-8 python functional_tests\test_chat_stream_retry_multiendpoint_resolution_fix.py
  • python -m py_compile application\single_app\route_backend_chats.py functional_tests\test_chat_retry_edit_streaming_parity.py functional_tests\test_chat_stream_retry_multiendpoint_resolution_fix.py
  • git -c core.whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol diff --check

Fixes #963

Route retry and edit chat requests through the full SSE stream generator while reusing the prepared retry/edit user message and thread metadata.

Add regression coverage and fix documentation for #963.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
if retry_thread_attempt is not None
else thread_info.get('thread_attempt')
)
latest_thread_id = current_user_thread_id
'thread_attempt': 1
}
current_user_thread_id = str(uuid.uuid4())
latest_thread_id = current_user_thread_id
paullizer and others added 2 commits July 31, 2026 09:48
Document the v0.250.106 retry/edit streaming parity fix.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Preserve the v0.250.106 upstream release notes while keeping the retry/edit streaming parity entry.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@paullizer
paullizer merged commit 0d9b111 into Development Jul 31, 2026
11 checks passed
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.

2 participants