Skip to content

Commit ac3556d

Browse files
committed
[docs] Add missing import from ai
1 parent 611553c commit ac3556d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • docs/content/docs/plugins

‎docs/content/docs/plugins/ai.mdx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ for await (const delta of result.textStream) {
155155
`generateText` 和 `streamText` 都支持通过 `output` 选项来指定生成结果的格式:
156156

157157
```typescript
158+
import { generateText, Output } from 'ai';
158159
import z from 'zod';
159160

160161
const { output } = await generateText({

0 commit comments

Comments
 (0)