Skip to content

Commit 65e1836

Browse files
committed
fix nav and typos
1 parent bb19f32 commit 65e1836

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/data/nav/aitransport.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ export default {
1616
link: '/docs/ai-transport',
1717
index: true,
1818
},
19+
],
20+
},
21+
{
22+
name: 'Token streaming',
23+
pages: [
1924
{
20-
name: 'Token streaming',
21-
pages: [
22-
{
23-
name: 'Message per response',
24-
link: '/docs/ai-transport/features/token-streaming/message-per-response',
25-
},
26-
],
25+
name: 'Message per response',
26+
link: '/docs/ai-transport/features/token-streaming/message-per-response',
2727
},
2828
],
2929
},

src/pages/docs/ai-transport/features/token-streaming/message-per-response.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This approach is ideal when:
2929
action to the Ably channel with an empty or the first token as content.
3030
2. **Token streaming**: Append subsequent tokens to the original message by publishing those tokens
3131
with the `message.append` action.
32-
3. **Live Delivery**: Clients subscribed to the channel receive each appended token in real-time, allowing
32+
3. **Live Delivery**: Clients subscribed to the channel receive each appended token in realtime, allowing
3333
them to progressively render the response.
3434
4. **Compacted history**: The channel history contains only one message per AI response,
3535
which includes all tokens appended to it concatenated together.
@@ -129,7 +129,7 @@ Subscribers receive different message actions depending on when they join and ho
129129
messages.
130130

131131
When subscribed to a channel, clients receive the initial message with the `message.create` action,
132-
followed by each token as a `message.append` action in real-time.
132+
followed by each token as a `message.append` action in realtime.
133133

134134
<Code>
135135
```javascript

0 commit comments

Comments
 (0)