Skip to content

Commit d32c024

Browse files
Hyperlint Automation Fix
1 parent 2d8291f commit d32c024

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/docs/agents/api-reference/using-ai-models.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You can also use the model routing features in [AI Gateway](/ai-gateway/) to rou
2020

2121
Because Agents are built on top of [Durable Objects](/durable-objects/), each Agent or chat session is associated with a stateful compute instance. Traditional serverless architectures often present challenges for persistent connections needed in real-time applications like chat.
2222

23-
A user can disconnect during a long-running response from a modern reasoning model (such as `o3-mini` or DeepSeek R1), or lose conversational context when refreshing the browser. Instead of relying on request-response patterns and managing an external database to track & store conversation state, state can be stored directly within the Agent. If a client disconnects, the Agent can write to its own distributed storage, and catch the client up as soon as it reconnects: even if it's hours or days later.
23+
If a client disconnects, the Agent can write to its own distributed storage, and catch the client up as soon as it reconnects: even if it is hours or days later.
2424

2525
## Calling AI Models
2626

@@ -174,7 +174,7 @@ export class MyAgent extends Agent<Env> {
174174

175175
</TypeScriptExample>
176176

177-
Your wrangler configuration will need an `ai` binding added. This is shared across both Workers AI and AI Gateway.
177+
To configure your wrangler setup, include an `ai` binding, which is applicable for both Workers AI and AI Gateway.
178178
<WranglerConfig>
179179

180180
```toml

0 commit comments

Comments
 (0)