Uh oh!
There was an error while loading. Please reload this page.
AI Transport docs: auth endpoint URL and example channel namespaces - #3399
Conversation
Normalise the token-issuing endpoint URL across the AI Transport docs.
The authUrl placeholders ('/auth'), the "create an endpoint at" prose,
and the authCallback fetch ('/api/ably-token') now all point at
/api/auth/token for a consistent example endpoint.Use a `conversations:` namespaced channel name in the core SDK and Vercel getting-started examples, and add a note prompting readers to match channelName to a namespace that has the AIT channel rules configured. Without a configured namespace the examples fail on the first token append, so the example channel names should reflect that requirement. Also tighten the channel-rules wording around when mutableMessages applies.
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ 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 |
Collapse the wrapped extras.ai.transport lines in the Run sequence example onto single lines so the header maps read cleanly.
Summary
Small consistency and formatting fixes to the AI Transport getting-started, reference, and internals docs.
/api/auth/tokeneverywhere it appears: theauthUrlplaceholders ('/auth'), the "create an endpoint at" prose, and theauthCallbackfetch (/api/ably-token). The agent POST endpoint (/api/chat) is intentionally left unchanged.conversations:namespaced channel name in the core SDK and Vercel getting-started examples, and add a note prompting readers to matchchannelNameto a namespace that has the AIT channel rules configured. Without a configured namespace the examples fail on the first token append. Also tightens the channel-rules wording around whenmutableMessagesapplies.extras.ai.transportlines in the Run sequence example so the header maps read on single lines.Test plan
/author/api/ably-tokenreferences remain in the ai-transport folder and that/api/chatis untouched.🤖 Generated with Claude Code