fix(stream-text): clean max steps param
This commit is contained in:
1 file changed
+1
@@ -188,6 +188,7 @@ export const streamText = async (options: StreamTextOptions): Promise<StreamText
|
||||
|
||||
await chat({
|
||||
...options,
|
||||
maxSteps: undefined,
|
||||
stream: true,
|
||||
streamOptions: options.streamOptions != null
|
||||
? objCamelToSnake(options.streamOptions)
|
||||
|
||||
Reference in new issue
Block a user