Files
OmniRoute/config
NOXX - Commiter a865fddb26 fix(perplexity-web): multi-step empty content + advanced-quota cooldown (#7930)
Perplexity's live multi-step/copilot streams can surface the
advanced_models_quota_low upsell instead of any answer text when the
account's weekly advanced-model budget is exhausted. Detect it and
return HTTP 429 with reset_seconds/Retry-After (mapped to
rate_limited_until) instead of a silent empty-content error.

Also fixes plan-goal (thinking) extraction for live multi-step streams
that deliver the plan as an RFC-6902 diff patch against plan_block
instead of a materialized plan_block object — those goals were
previously dropped.

Reconstructed against release/v3.8.49: most of the original "empty
content" fix in this PR was independently and differently addressed on
release already (extractAnswerFromFinalText + longestMarkdownAnswer),
so only the two non-overlapping pieces above are ported here.

Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
2026-07-21 13:16:47 -03:00
..
2026-07-13 09:12:40 -03:00