Skip to content

Enable Empty Response Retry with Channel Switching - #22

Open
puyujian wants to merge 1 commit into
mainfrom
feat/empty-response-toggle-retry
Open

Enable Empty Response Retry with Channel Switching#22
puyujian wants to merge 1 commit into
mainfrom
feat/empty-response-toggle-retry

Conversation

@puyujian

Copy link
Copy Markdown
Owner

Summary

Introduce an explicit control to treat empty upstream responses as retriable errors, enabling automatic retries and channel switching when an upstream channel returns no content.

Details

  • Add EmptyResponseRetryEnabled to global retry settings (backend).
  • Add ShouldTreatEmptyResponseAsError() helper to centralize logic.
  • Wire empty-response retry into the relay flow so empty upstream replies trigger retry and optional channel switching.
  • Extend the front-end settings UI with a new toggle to enable empty-response retry (requires Auto Retry to be on).
  • Update internationalization strings for empty-response retry UI.
  • Adjust related tests and logging to reflect new behavior.

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.

1 participant