Skip to content

Commit

Permalink
fix (docs): mmc guide import fix (vercel#2323)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoalbanese authored Jul 18, 2024
1 parent 1f67fe4 commit bfc1a67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/docs/02-guides/02-multi-modal-chatbot.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Create a route handler, `app/api/chat/route.ts` and add the following code:

```tsx filename="app/api/chat/route.ts"
import { openai } from '@ai-sdk/openai';
import { streamText } from 'ai';
import { convertToCoreMessages, streamText } from 'ai';

// Allow streaming responses up to 30 seconds
export const maxDuration = 30;
Expand Down

0 comments on commit bfc1a67

Please sign in to comment.