Repository navigation
fix(rag): allow agentic answers with retrieved evidence on 0.27.x - #20647
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
Sync upstream 0.27.x updates
Summary
Agentic chat can return the configured empty response even after retrieving supporting chunks.
formalize_questioninitializesempty_resulttoTrue, so answer composition treats the result as empty when the successful research path does not reset that flag.Initialize
empty_resulttoFalseso retrieved evidence can reach answer generation. Existing no-chunks and abstention checks continue to select the empty response when appropriate.Related to #19516. Related PR #19616 targeted
mainand was closed without merging; this is a focused fix for0.27.x.Validation
f4fb602b8c287e3fd20a6476855129b57e868177.