Skip to content

Commit 6d6fbbd

Browse files
committed
fix(stream-text): clean max steps param
1 parent ed4ba89 commit 6d6fbbd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/stream-text/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ export const streamText = async (options: StreamTextOptions): Promise<StreamText
188188

189189
await chat({
190190
...options,
191+
maxSteps: undefined,
191192
stream: true,
192193
streamOptions: options.streamOptions != null
193194
? objCamelToSnake(options.streamOptions)

0 commit comments

Comments
 (0)