docs(ai-chat): correct chat.agent reference drift#3892
Conversation
Fix transport.preload signature (no per-call idle option), clarify that onValidateMessages only fires on turns carrying incoming messages, soften the turn-complete token-refresh wording since the header is optional, document the onTurnComplete error field and finishReason, and correct the idle-timeout default to 30 seconds.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
📜 Recent review details⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
WalkthroughThis PR updates documentation across five AI chat API guides to reflect current implementation behavior. Changes clarify that turn completion events include an 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
The built-in clients generate a high-entropy id per send (UUID in the browser, full-length nanoid server-side), not a short id.
Summary
Accuracy fixes across the AI chat docs: drop the non-existent per-call option from
transport.preload, clarify thatonValidateMessagesonly fires on turns carrying incoming messages, soften the turn-complete token-refresh wording (the header is optional), document the newonTurnCompleteerrorfield andfinishReason, and correct the idle-timeout default to 30 seconds.