Skip to content

Commit 965b814

Browse files
committed
docs(ai-chat): keep anchor stubs for moved backend sections
Inbound deep links to the sections that moved to the Custom agents page (#chat-createsession, #chat-customagent, #raw-task-with-primitives) now land on the router stub instead of the top of the Backend page. Path-level redirects cannot cover this since fragments never reach the server.
1 parent eb908b9 commit 965b814

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/ai-chat/backend.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,11 @@ export const manualChat = task({
803803

804804
---
805805

806+
{/* Anchor stubs for inbound deep links to the sections that moved to /ai-chat/custom-agents. */}
807+
<a id="chat-createsession" />
808+
<a id="chat-customagent" />
809+
<a id="raw-task-with-primitives" />
810+
806811
## Custom agents
807812

808813
Both lower levels — `chat.createSession()` (managed turn iterator, your turn body) and `chat.customAgent()` with raw primitives (hand-rolled loop, full stream-conversion control) — are covered together on the Custom agents page, including the `ChatTurn` surface, the continuation-seeding pattern, and the hand-rolled-loop checklist:

0 commit comments

Comments
 (0)