@@ -71,7 +71,7 @@ const agent = new blink.Agent();
7171
7272agent .on (" chat" , async ({ messages , chat , abortSignal }) => {
7373 return streamText ({
74- model: blink . model ( " anthropic/claude-sonnet-4.5" ) ,
74+ model: " anthropic/claude-sonnet-4.5" ,
7575 system: " You are a helpful assistant." ,
7676 messages: convertToModelMessages (messages , {
7777 ignoreIncompleteToolCalls: true ,
@@ -215,17 +215,6 @@ Tool Prefixing to avoid collisions:
215215
216216LLM Models:
217217
218- ** Option 1: Blink Gateway** (Quick Start)
219-
220- ``` typescript
221- model : blink .model (" anthropic/claude-sonnet-4.5" );
222- model : blink .model (" openai/gpt-5" );
223- ```
224-
225- Requires: ` blink login ` or ` BLINK_TOKEN ` env var
226-
227- ** Option 2: Direct Provider** (Production Recommended)
228-
229218``` typescript
230219import { anthropic } from " @ai-sdk/anthropic" ;
231220import { openai } from " @ai-sdk/openai" ;
@@ -240,7 +229,7 @@ model: openai("gpt-5", { apiKey: process.env.OPENAI_API_KEY });
240229
2412301 . If ` ANTHROPIC_API_KEY ` is set: uses ` claude-sonnet-4.5 ` via ` @ai-sdk/anthropic `
2422312 . If ` OPENAI_API_KEY ` is set: uses ` gpt-5 ` via ` @ai-sdk/openai `
243- 3 . Otherwise: falls back to ` blink.model(" anthropic/claude-sonnet-4.5") `
232+ 3 . If ` AI_GATEWAY_API_KEY ` is set: uses ` anthropic/claude-sonnet-4-5 ` via the Vercel AI Gateway
244233
245234Available SDKs:
246235
@@ -310,7 +299,7 @@ agent.on("request", async (request) => {
310299agent .on (" chat" , async ({ messages }) => {
311300 const tools = slack .createTools ({ client: app .client });
312301 return streamText ({
313- model: blink . model ( " anthropic/claude-sonnet-4.5" ) ,
302+ model: " anthropic/claude-sonnet-4.5" ,
314303 system: " You chatting with users in Slack." ,
315304 messages: convertToModelMessages (messages , {
316305 ignoreIncompleteToolCalls: true ,
0 commit comments