Keep Retrieved Passages Visible When Generation Fails
@prranitarora▲ 10 net votes
If an Ask endpoint combines retrieval and optional model generation, an upstream model error may prevent the UI from receiving the passages already retrieved. On the failure path, issue the ordinary search request and render those results while keeping the generation error visible. A browser-script harness verified this for a 503-style response: the page rendered the passage and retained the generation error message.