ai 7.0.134 → 7.0.136

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/index.d.ts +234 -7
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +616 -57
  5. package/dist/index.js.map +1 -1
  6. package/dist/internal/index.d.ts +6 -2
  7. package/dist/internal/index.d.ts.map +1 -1
  8. package/dist/internal/index.js +1 -1
  9. package/docs/03-agents/04-loop-control.mdx +2 -0
  10. package/docs/03-ai-sdk-core/15-tools-and-tool-calling.mdx +2 -2
  11. package/docs/03-ai-sdk-core/17-mcp-events.mdx +6 -2
  12. package/docs/03-ai-sdk-core/25-settings.mdx +4 -2
  13. package/docs/03-ai-sdk-core/30-embeddings.mdx +27 -0
  14. package/docs/03-ai-sdk-core/32-decisions.mdx +3 -2
  15. package/docs/04-ai-sdk-ui/21-transport.mdx +73 -0
  16. package/docs/07-reference/01-ai-sdk-core/01-generate-text.mdx +2 -2
  17. package/docs/07-reference/01-ai-sdk-core/02-stream-text.mdx +2 -2
  18. package/docs/07-reference/01-ai-sdk-core/05-embed.mdx +14 -0
  19. package/docs/07-reference/01-ai-sdk-core/06-embed-many.mdx +14 -0
  20. package/docs/07-reference/01-ai-sdk-core/16-tool-loop-agent.mdx +5 -5
  21. package/docs/07-reference/01-ai-sdk-core/23-create-mcp-client.mdx +2 -2
  22. package/docs/07-reference/01-ai-sdk-core/24-mcp-events.mdx +123 -5
  23. package/docs/07-reference/02-ai-sdk-ui/51-websocket-chat-transport.mdx +393 -0
  24. package/docs/07-reference/02-ai-sdk-ui/index.mdx +6 -0
  25. package/package.json +12 -12
  26. package/src/agent/default-stop-condition.ts +33 -0
  27. package/src/agent/tool-loop-agent.ts +2 -2
  28. package/src/embed/embed-events.ts +6 -0
  29. package/src/embed/embed-many.ts +18 -0
  30. package/src/embed/embed.ts +16 -0
  31. package/src/embed/validate-embedding-dimensions.ts +14 -0
  32. package/src/generate-text/stream-text.ts +31 -24
  33. package/src/prompt/request-options.ts +2 -2
  34. package/src/ui/chat-transport.ts +16 -0
  35. package/src/ui/chat.ts +123 -34
  36. package/src/ui/index.ts +13 -0
  37. package/src/ui/process-ui-message-stream.ts +6 -2
  38. package/src/ui/websocket-chat-transport.ts +987 -0
  39. package/src/util/serial-job-executor.ts +22 -5
@@ -313,6 +313,8 @@ type EmbedStartEvent<RUNTIME_CONTEXT extends Context = Context> = {
313
313
  readonly modelId: string;
314
314
  /** The value(s) being embedded. A string for embed, an array for embedMany. */
315
315
  readonly value: string | Array<string>;
316
+ /** Requested output dimensions, when specified. */
317
+ readonly dimensions?: number;
316
318
  /** Maximum number of retries for failed requests. */
317
319
  readonly maxRetries: number;
318
320
  /** Additional HTTP headers sent with the request. */
@@ -374,6 +376,8 @@ type EmbeddingModelCallStartEvent = {
374
376
  readonly modelId: string;
375
377
  /** The values being embedded in this particular model call. */
376
378
  readonly values: Array<string>;
379
+ /** Requested output dimensions, when specified. */
380
+ readonly dimensions?: number;
377
381
  };
378
382
  /**
379
383
  * Event fired when an individual embedding model call (doEmbed) completes.
@@ -602,9 +606,9 @@ type LanguageModelCallOptions = {
602
606
  * Timeout configuration for API calls. Can be specified as:
603
607
  * - A number representing milliseconds
604
608
  * - An object with `totalMs` property for the total timeout in milliseconds
605
- * - An object with `stepMs` property for the timeout of each step in milliseconds
609
+ * - An object with `stepMs` property for the timeout of each complete step, including model generation, retries, and local tool execution, in milliseconds
606
610
  * - An object with `firstChunkMs` property for the timeout until the first content chunk of each step (streaming only)
607
- * - An object with `chunkMs` property for the timeout between content chunks (streaming only)
611
+ * - An object with `chunkMs` property for the timeout between meaningful model output chunks, starting with the first output and ending when the model response ends (streaming only)
608
612
  * - An object with `toolMs` property for the default timeout for all tool executions
609
613
  * - An object with `tools` property for per-tool timeout overrides using `{toolName}Ms` keys
610
614
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":["_0","DecisionQuestion","DecisionModelV4Result","DecisionQuestion","DecisionModelV4CallOptions","DecisionModelV4Result","download","originalDownload","symbol","ModelMessage","SandboxSession","SandboxSession","AssistantModelMessage","ToolModelMessage","_$__step_result0.StepResult","_$__content_part0.ContentPart","_$__generated_file0.GeneratedFile","_$__reasoning_output0.ReasoningOutput","_$__reasoning_output0.ReasoningFileOutput","_$__tool_call0.TypedToolCall","_$__tool_call0.StaticToolCall","_$__tool_call0.DynamicToolCall","_$__tool_result0.TypedToolResult","_$__tool_result0.StaticToolResult","_$__tool_result0.DynamicToolResult","_$___types0.FinishReason","_$___types0.LanguageModelResponseMetadata","_$___types0.LanguageModelRequestMetadata"],"sources":["../../src/types/embedding-model.ts","../../src/types/language-model.ts","../../src/types/language-model-request-metadata.ts","../../src/generate-text/response-message.ts","../../src/types/language-model-response-metadata.ts","../../src/types/provider-metadata.ts","../../src/types/speech-model-response-metadata.ts","../../src/types/transcription-model-response-metadata.ts","../../src/types/usage.ts","../../src/types/warning.ts","../../src/logger/log-warnings.ts","../../src/embed/embed-events.ts","../../src/decide/decision-state.ts","../../src/decide/decision-result.ts","../../src/decide/decide-events.ts","../../src/prompt/language-model-call-options.ts","../../src/prompt/request-options.ts","../../src/prompt/prompt.ts","../../src/generate-object/structured-output-events.ts","../../src/prompt/standardize-prompt.ts","../../src/util/callback.ts","../../src/generate-text/active-tools.ts","../../src/telemetry/telemetry-options.ts","../../src/util/download/download.ts","../../src/util/download/download-function.ts","../../src/generate-text/generated-file.ts","../../src/generate-text/reasoning-output.ts","../../src/util/value-of.ts","../../src/generate-text/tool-call.ts","../../src/generate-text/tool-approval-request-output.ts","../../src/generate-text/tool-approval-response-output.ts","../../src/generate-text/tool-error.ts","../../src/generate-text/tool-result.ts","../../src/generate-text/content-part.ts","../../src/generate-text/step-result.ts","../../src/generate-text/language-model-events.ts","../../src/generate-text/output-utils.ts","../../src/generate-text/tool-order.ts","../../src/util/async-iterable-stream.ts","../../src/generate-text/tool-output-denied.ts","../../src/generate-text/stream-text-result.ts","../../src/generate-text/tool-approval-configuration.ts","../../src/generate-text/tool-caller-configuration.ts","../../src/error/invalid-tool-input-error.ts","../../src/error/no-such-tool-error.ts","../../src/generate-text/tool-call-repair-function.ts","../../src/generate-text/tool-output.ts","../../src/generate-text/tool-execution-events.ts","../../src/generate-text/tool-input-refinement.ts","../../src/generate-text/tools-context-parameter.ts","../../src/generate-text/stream-text.ts","../../src/generate-text/output.ts","../../src/generate-text/generate-text-events.ts","../../src/rerank/rerank-events.ts","../../src/generate-speech/speech-events.ts","../../src/transcribe/transcription-events.ts","../../src/telemetry/tracing-channel.ts","../../src/telemetry/tracing-channel-publisher.ts","../../src/telemetry/telemetry.ts","../../src/global.ts","../../src/prompt/convert-to-language-model-prompt.ts","../../src/prompt/create-tool-model-output.ts","../../src/prompt/prepare-tool-choice.ts","../../src/prompt/prepare-tools.ts","../../src/prompt/prepare-language-model-call-options.ts","../../src/util/prepare-retries.ts","../../src/model/resolve-model.ts","../../src/util/merge-abort-signals.ts","../../src/util/merge-callbacks.ts","../../src/telemetry/create-telemetry-dispatcher.ts","../../src/generate-text/restricted-telemetry-dispatcher.ts","../../src/generate-text/parse-tool-call.ts","../../src/generate-text/validate-tool-context.ts","../../src/tool-search/prepare-tool-search.ts","../../src/generate-text/collect-tool-approvals.ts","../../src/generate-text/tool-approval-signature.ts","../../src/generate-text/validate-tool-approvals.ts","../../src/generate-text/to-response-messages.ts","../../src/generate-text/generate-text-result.ts","../../src/generate-text/default-generate-text-result.ts","../../src/generate-text/resolve-generated-file-data.ts","../../src/generate-text/convert-language-model-content.ts","../../src/generate-text/calculate-tokens-per-second.ts"],"mappings":";;;;;;;;KAmBY,YAAY;;;QCVhB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA8BI;;;;;;KAOA,+BAA+B,4CAGvC,uBAEU,2BACN,+BAA+B;;;;KAK3B,gBACR,wBACA,kBACA,kBACA;;;;;;;;;;;;KAaQ;;;;;UAYK;EACf,UAAU;;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A2B;EACxD,OAAO;EACP,cAAc;EACd,yBAAyB;IACvB,QAAQ,MAAM,YAAY;;;;;;;;;wBC7Bd,2BACd,QACA;EAEA;EACA"}
1
+ {"version":3,"file":"index.d.ts","names":["_0","DecisionQuestion","DecisionModelV4Result","DecisionQuestion","DecisionModelV4CallOptions","DecisionModelV4Result","download","originalDownload","symbol","ModelMessage","SandboxSession","SandboxSession","AssistantModelMessage","ToolModelMessage","_$__step_result0.StepResult","_$__content_part0.ContentPart","_$__generated_file0.GeneratedFile","_$__reasoning_output0.ReasoningOutput","_$__reasoning_output0.ReasoningFileOutput","_$__tool_call0.TypedToolCall","_$__tool_call0.StaticToolCall","_$__tool_call0.DynamicToolCall","_$__tool_result0.TypedToolResult","_$__tool_result0.StaticToolResult","_$__tool_result0.DynamicToolResult","_$___types0.FinishReason","_$___types0.LanguageModelResponseMetadata","_$___types0.LanguageModelRequestMetadata"],"sources":["../../src/types/embedding-model.ts","../../src/types/language-model.ts","../../src/types/language-model-request-metadata.ts","../../src/generate-text/response-message.ts","../../src/types/language-model-response-metadata.ts","../../src/types/provider-metadata.ts","../../src/types/speech-model-response-metadata.ts","../../src/types/transcription-model-response-metadata.ts","../../src/types/usage.ts","../../src/types/warning.ts","../../src/logger/log-warnings.ts","../../src/embed/embed-events.ts","../../src/decide/decision-state.ts","../../src/decide/decision-result.ts","../../src/decide/decide-events.ts","../../src/prompt/language-model-call-options.ts","../../src/prompt/request-options.ts","../../src/prompt/prompt.ts","../../src/generate-object/structured-output-events.ts","../../src/prompt/standardize-prompt.ts","../../src/util/callback.ts","../../src/generate-text/active-tools.ts","../../src/telemetry/telemetry-options.ts","../../src/util/download/download.ts","../../src/util/download/download-function.ts","../../src/generate-text/generated-file.ts","../../src/generate-text/reasoning-output.ts","../../src/util/value-of.ts","../../src/generate-text/tool-call.ts","../../src/generate-text/tool-approval-request-output.ts","../../src/generate-text/tool-approval-response-output.ts","../../src/generate-text/tool-error.ts","../../src/generate-text/tool-result.ts","../../src/generate-text/content-part.ts","../../src/generate-text/step-result.ts","../../src/generate-text/language-model-events.ts","../../src/generate-text/output-utils.ts","../../src/generate-text/tool-order.ts","../../src/util/async-iterable-stream.ts","../../src/generate-text/tool-output-denied.ts","../../src/generate-text/stream-text-result.ts","../../src/generate-text/tool-approval-configuration.ts","../../src/generate-text/tool-caller-configuration.ts","../../src/error/invalid-tool-input-error.ts","../../src/error/no-such-tool-error.ts","../../src/generate-text/tool-call-repair-function.ts","../../src/generate-text/tool-output.ts","../../src/generate-text/tool-execution-events.ts","../../src/generate-text/tool-input-refinement.ts","../../src/generate-text/tools-context-parameter.ts","../../src/generate-text/stream-text.ts","../../src/generate-text/output.ts","../../src/generate-text/generate-text-events.ts","../../src/rerank/rerank-events.ts","../../src/generate-speech/speech-events.ts","../../src/transcribe/transcription-events.ts","../../src/telemetry/tracing-channel.ts","../../src/telemetry/tracing-channel-publisher.ts","../../src/telemetry/telemetry.ts","../../src/global.ts","../../src/prompt/convert-to-language-model-prompt.ts","../../src/prompt/create-tool-model-output.ts","../../src/prompt/prepare-tool-choice.ts","../../src/prompt/prepare-tools.ts","../../src/prompt/prepare-language-model-call-options.ts","../../src/util/prepare-retries.ts","../../src/model/resolve-model.ts","../../src/util/merge-abort-signals.ts","../../src/util/merge-callbacks.ts","../../src/telemetry/create-telemetry-dispatcher.ts","../../src/generate-text/restricted-telemetry-dispatcher.ts","../../src/generate-text/parse-tool-call.ts","../../src/generate-text/validate-tool-context.ts","../../src/tool-search/prepare-tool-search.ts","../../src/generate-text/collect-tool-approvals.ts","../../src/generate-text/tool-approval-signature.ts","../../src/generate-text/validate-tool-approvals.ts","../../src/generate-text/to-response-messages.ts","../../src/generate-text/generate-text-result.ts","../../src/generate-text/default-generate-text-result.ts","../../src/generate-text/resolve-generated-file-data.ts","../../src/generate-text/convert-language-model-content.ts","../../src/generate-text/calculate-tokens-per-second.ts"],"mappings":";;;;;;;;KAmBY,YAAY;;;QCVhB;;;;;;;;;;;;;;;;;;;;;;;;;;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ACA,WACA,aACA,sBACA,uBACA,OACA,aACA;EAEA,SAAS,MAAM;EACf,WAAW,MAAM,cAAc;EAC/B,aAAa,MAAM,WAAW;EAC9B,sBAAsB,MAAM,0BAA0B;EACtD,uBAAuB,MAAM,2BAA2B;EACxD,OAAO;EACP,cAAc;EACd,yBAAyB;IACvB,QAAQ,MAAM,YAAY;;;;;;;;;wBC7Bd,2BACd,QACA;EAEA;EACA"}
@@ -111,7 +111,7 @@ function asAsyncIterableStream(stream) {
111
111
  }
112
112
  //#endregion
113
113
  //#region src/version.ts
114
- const VERSION = "7.0.134";
114
+ const VERSION = "7.0.136";
115
115
  //#endregion
116
116
  //#region src/util/download/download.ts
117
117
  /**
@@ -18,6 +18,8 @@ The AI SDK provides built-in loop control through two parameters: `stopWhen` for
18
18
 
19
19
  The `stopWhen` parameter controls when to stop execution when there are tool results in the last step. By default, `ToolLoopAgent` stops after 20 steps using `isStepCount(20)`. This default is a safety measure to prevent runaway loops that could result in excessive API calls and costs.
20
20
 
21
+ If this default limit stops a tool loop that could otherwise continue, the SDK logs a warning with guidance on configuring `stopWhen`. Set `stopWhen` explicitly to choose a limit, even if you want to keep `isStepCount(20)`. Explicit stop conditions do not produce this warning.
22
+
21
23
  `WorkflowAgent` does not apply a default step limit. It continues until the model stops calling tools or another natural termination condition is met. Configure an explicit condition such as `isStepCount(20)` when you need to bound its model calls. See [WorkflowAgent Loop Control](/docs/agents/workflow-agent#loop-control) for details.
22
24
 
23
25
  When you provide `stopWhen`, the agent continues executing after tool calls until a stopping condition is met. When the condition is an array, execution stops when any of the conditions are met.
@@ -389,7 +389,7 @@ With the `stopWhen` setting, you can enable multi-step calls in `generateText` a
389
389
 
390
390
  The AI SDK provides several built-in stopping conditions:
391
391
 
392
- - `isStepCount(count)` — stops after a specified number of steps (default: `isStepCount(20)`)
392
+ - `isStepCount(count)` — stops after a specified number of steps (default: `isStepCount(1)` for `generateText` and `streamText`)
393
393
  - `hasToolCall(...toolNames)` — stops when any of the specified tools is called
394
394
  - `isLoopFinished()` — never triggers, letting the loop run until naturally finished
395
395
 
@@ -400,7 +400,7 @@ You can also combine multiple conditions in an array or create custom conditions
400
400
  results.
401
401
  </Note>
402
402
 
403
- By default, when you use `generateText` or `streamText`, it triggers a single generation. This works well for many use cases where you can rely on the model's training data to generate a response. However, when you provide tools, the model now has the choice to either generate a normal text response, or generate a tool call. If the model generates a tool call, its generation is complete and that step is finished.
403
+ By default, when you use `generateText` or `streamText`, it triggers a single generation. This works well for many use cases where you can rely on the model's training data to generate a response. However, when you provide tools, the model now has the choice to either generate a normal text response, or generate a tool call. A step includes one model generation and the execution of any local tools requested by that generation. If the model generates a tool call, the model generation finishes first; the step finishes after its local tool execution completes.
404
404
 
405
405
  You may want the model to generate text after the tool has been executed, either to summarize the tool results in the context of the users query. In many cases, you may also want the model to use multiple tools in a single response. This is where multi-step calls come in.
406
406
 
@@ -19,8 +19,12 @@ endpoint receives the events.
19
19
  ## Choose who manages subscriptions
20
20
 
21
21
  Use `experimental_events: { adapter }` when a backend manages subscriptions,
22
- webhook delivery and renewal. The adapter exposes managed watch handles and
23
- requires no AI SDK event store. See [managed subscriptions](/docs/reference/ai-sdk-core/mcp-events#managed-subscriptions).
22
+ webhook delivery and renewal. Supply an adapter whose
23
+ `createAdapter({ transport })` receives the MCP transport type and URL
24
+ (or just the type for custom transports) and returns bound
25
+ managed watch operations. No AI SDK event store is required. A backend SDK helper can
26
+ return this adapter directly, so callers do not need an inline `createAdapter`
27
+ wrapper. See [managed subscriptions](/docs/reference/ai-sdk-core/mcp-events#managed-subscriptions).
24
28
 
25
29
  Use `experimental_events: { store }` when your application directly registers
26
30
  MCP webhooks, persists their secrets and schedules renewal. The following flow
@@ -142,12 +142,14 @@ This is a convenience parameter that creates an abort signal internally. It can
142
142
  You can specify the timeout either as a number (milliseconds) or as an object with the following properties:
143
143
 
144
144
  - `totalMs`: The total timeout for the entire call including all steps.
145
- - `stepMs`: The timeout for each individual step (LLM call). This is useful for multi-step generations where you want to limit the time spent on each step independently.
145
+ - `stepMs`: The timeout for each complete step, including model generation, retries, and local tool execution. The budget is cumulative across provider attempts within the step.
146
146
  - `firstChunkMs`: The timeout until the first content-bearing output of each step (streaming only). Text deltas, reasoning deltas, tool-input deltas, generated files, and tool calls satisfy the timeout. Response metadata, stream starts, empty deltas, raw chunks, and transport activity do not satisfy or reset it.
147
- - `chunkMs`: The timeout between content-bearing output chunks after output has started (streaming only). Non-content chunks do not reset it. This is useful for detecting streams that stall after generation begins.
147
+ - `chunkMs`: The timeout between meaningful model output chunks after output has started (streaming only). It starts with the first meaningful output; it does not limit the wait for that first output. Non-content chunks do not reset it. This is useful for detecting streams that stall after generation begins.
148
148
  - `toolMs`: The default timeout for all tool executions. If a tool takes longer, it aborts and returns a tool-error so the model can respond or retry.
149
149
  - `tools`: Per-tool timeout overrides using `{toolName}Ms` keys (e.g. `weatherMs`, `slowApiMs`). Takes precedence over `toolMs`. Tool names are type-checked for autocomplete.
150
150
 
151
+ The `firstChunkMs` and `chunkMs` timers stop when the model response finishes, errors, closes, or is cancelled. Each provider retry or later model call gets fresh output timeout budgets. Retry backoff and local tool execution are outside these budgets. Provider-executed tools remain within the model response. The `stepMs` and `totalMs` budgets remain active across retries and local tool execution.
152
+
151
153
  #### Example: 5 second timeout (number format)
152
154
 
153
155
  ```ts
@@ -85,6 +85,33 @@ console.log(usage); // { tokens: 10 }
85
85
 
86
86
  ## Settings
87
87
 
88
+ ### Output Dimensions
89
+
90
+ Both `embed` and `embedMany` accept an optional `dimensions` parameter to request
91
+ an output vector size. It must be a positive integer. When omitted, the model's
92
+ existing behavior is unchanged. For `embedMany`, the same value is forwarded to
93
+ every batch.
94
+
95
+ ```ts
96
+ import { openai } from '@ai-sdk/openai';
97
+ import { embed } from 'ai';
98
+
99
+ const { embedding } = await embed({
100
+ model: openai.embedding('text-embedding-3-small'),
101
+ value: 'sunny day at the beach',
102
+ dimensions: 512,
103
+ });
104
+ ```
105
+
106
+ Providers map `dimensions` to their native output dimension setting. An explicit
107
+ dimension setting in `providerOptions` takes precedence over `dimensions`.
108
+ Other provider options can be combined with the top-level setting.
109
+
110
+ Support and allowed dimension values depend on the model. The SDK forwards the
111
+ requested size to the provider API without truncating or resizing the returned
112
+ embeddings. AI Gateway forwards `dimensions` and `providerOptions` for resolution
113
+ by the selected provider.
114
+
88
115
  ### Provider Options
89
116
 
90
117
  Embedding model settings can be configured using `providerOptions` for provider-specific parameters:
@@ -82,8 +82,9 @@ from `ai`. A part has one of these shapes:
82
82
  - JSON: `{ type: 'json', value: JSONValue }`.
83
83
 
84
84
  Language-model decision adapters accept image files only. The underlying model
85
- must support the file data form. Gateway and TypeSafe AI accept text and JSON
86
- state only.
85
+ must support the file data form. Gateway forwards image files to the routed
86
+ decision model, which must support image input. TypeSafe AI accepts text and
87
+ JSON state only.
87
88
 
88
89
  Arrays passed directly as `state` contain parts. To send a JSON array, put it
89
90
  inside an object (`state: { records }`) or a JSON part
@@ -96,6 +96,79 @@ const { messages, sendMessage } = useChat({
96
96
  });
97
97
  ```
98
98
 
99
+ ## WebSocket Transport
100
+
101
+ Use `WebSocketChatTransport` when you want chat turns to share a persistent
102
+ WebSocket connection instead of opening an HTTP request for every turn. This is
103
+ useful for chats with frequent client-side tool results or other multi-step
104
+ interactions.
105
+
106
+ ```tsx
107
+ import { useChat } from '@ai-sdk/react';
108
+ import { WebSocketChatTransport } from 'ai';
109
+ import { useMemo } from 'react';
110
+
111
+ export default function Chat() {
112
+ const transport = useMemo(
113
+ () =>
114
+ new WebSocketChatTransport({
115
+ url: '/api/chat',
116
+ params: () => ({ token: getShortLivedToken() }),
117
+ }),
118
+ [],
119
+ );
120
+
121
+ const { messages, sendMessage } = useChat({ transport });
122
+
123
+ // ... render the chat
124
+ }
125
+ ```
126
+
127
+ The transport multiplexes requests by `requestId`, validates incoming
128
+ `UIMessageChunk` values, forwards aborts to the server, and reuses the open
129
+ socket for later turns. HTTP and HTTPS URLs are automatically converted to WS
130
+ and WSS URLs.
131
+
132
+ The code that creates a transport owns its lifecycle. React and Vue chat hooks
133
+ do not close caller-supplied transports when options change or components are
134
+ disposed, because the same transport can be shared by multiple chats. Call
135
+ `transport.close()` after its last consumer is gone. If a directly managed
136
+ `Chat` instance exclusively owns the transport, call `chat.dispose()`; for a
137
+ shared transport, stop individual chats and close the transport only after all
138
+ consumers are finished.
139
+
140
+ Your WebSocket server must implement the
141
+ [`WebSocketChatTransport` protocol](/docs/reference/ai-sdk-ui/websocket-chat-transport#wire-protocol).
142
+ The exported `WebSocketChatTransportRequest` and
143
+ `WebSocketChatTransportResponse` types can be used to type server frames. Use
144
+ `safeValidateWebSocketChatTransportRequest` before handling an untrusted client
145
+ frame.
146
+
147
+ <Note>
148
+ Browser WebSocket APIs cannot set arbitrary handshake headers. The `headers`
149
+ option is included inside each application-level request frame. Authenticate
150
+ the handshake with secure cookies, a short-lived query parameter, or a
151
+ subprotocol, and validate the connection origin and every frame on the server.
152
+ </Note>
153
+
154
+ `sendAutomaticallyWhen` still starts a new chat turn after the preceding UI
155
+ message stream finishes. `WebSocketChatTransport` avoids opening another HTTP
156
+ connection for that turn, but it does not send tool results into an active
157
+ model generation.
158
+
159
+ If the socket closes during a response, the active stream errors. A later send
160
+ opens a new connection. The transport does not automatically replay requests,
161
+ because replaying a generation can duplicate model output or tool effects.
162
+ `reconnectToStream` requests a complete replay of the retained response from
163
+ sequence zero. Chat rebuilds the message with a fresh parser, so the replay must
164
+ include all earlier chunks and the original `start` chunk's `messageId`. That
165
+ stable message ID lets Chat replace the partial assistant message. Duplicate
166
+ sequence numbers are ignored within each response stream.
167
+
168
+ For complete options, protocol details, cancellation behavior, and a server
169
+ example, see the
170
+ [`WebSocketChatTransport` reference](/docs/reference/ai-sdk-ui/websocket-chat-transport).
171
+
99
172
  ## Direct Agent Transport
100
173
 
101
174
  For scenarios where you want to communicate directly with an [Agent](/docs/reference/ai-sdk-core/agent) without going through HTTP, you can use `DirectChatTransport`. This transport invokes the agent's `stream()` method directly in-process.
@@ -479,7 +479,7 @@ To see `generateText` in action, check out [these examples](#examples).
479
479
  type: 'number | { totalMs?: number; stepMs?: number; toolMs?: number; tools?: Partial<Record<`${toolName}Ms`, number>> }',
480
480
  isOptional: true,
481
481
  description:
482
- 'Timeout in milliseconds. Can be specified as a number or as an object with totalMs, stepMs, toolMs, and/or tools properties. totalMs sets the total timeout for the entire call. stepMs sets the timeout for each individual step (LLM call). toolMs sets the default timeout for all tool executions. tools sets per-tool timeout overrides using the pattern {toolName}Ms (e.g. weatherMs, slowApiMs) that take precedence over toolMs - tool names are type-checked for autocomplete. If a tool takes longer than its timeout, it aborts and returns a tool-error so the model can respond or retry. Can be used alongside abortSignal.',
482
+ 'Timeout in milliseconds. Can be specified as a number or as an object with totalMs, stepMs, toolMs, and/or tools properties. totalMs sets the total timeout for the entire call. stepMs sets the timeout for each complete step, including model generation, retries, and local tool execution. toolMs sets the default timeout for all tool executions. tools sets per-tool timeout overrides using the pattern {toolName}Ms (e.g. weatherMs, slowApiMs) that take precedence over toolMs - tool names are type-checked for autocomplete. If a tool takes longer than its timeout, it aborts and returns a tool-error so the model can respond or retry. Can be used alongside abortSignal.',
483
483
  },
484
484
  {
485
485
  name: 'headers',
@@ -1251,7 +1251,7 @@ To see `generateText` in action, check out [these examples](#examples).
1251
1251
  type: '(event: GenerateTextStepStartEvent) => PromiseLike<void> | void',
1252
1252
  isOptional: true,
1253
1253
  description:
1254
- 'Callback that is called when a step (LLM call) begins, before the provider is called. Errors thrown in this callback are silently caught and do not break the generation flow.',
1254
+ 'Callback that is called when a step begins, before the provider is called. Errors thrown in this callback are silently caught and do not break the generation flow.',
1255
1255
  properties: [
1256
1256
  {
1257
1257
  type: 'GenerateTextStepStartEvent',
@@ -487,7 +487,7 @@ To see `streamText` in action, check out [these examples](#examples).
487
487
  type: 'number | { totalMs?: number; stepMs?: number; firstChunkMs?: number; chunkMs?: number; toolMs?: number; tools?: Partial<Record<`${toolName}Ms`, number>> }',
488
488
  isOptional: true,
489
489
  description:
490
- 'Timeout in milliseconds. Can be specified as a number or as an object with totalMs, stepMs, firstChunkMs, chunkMs, toolMs, and/or tools properties. totalMs sets the total timeout for the entire call. stepMs sets the timeout for each individual step (LLM call). firstChunkMs sets the timeout until the first content-bearing output in each step; metadata, stream starts, empty deltas, raw chunks, and transport activity do not satisfy it. chunkMs sets the timeout between content-bearing output chunks after output has started; non-content chunks do not reset it. toolMs sets the default timeout for all tool executions. tools sets per-tool timeout overrides using the pattern {toolName}Ms (e.g. weatherMs, slowApiMs) that take precedence over toolMs - tool names are type-checked for autocomplete. If a tool takes longer than its timeout, it aborts and returns a tool-error so the model can respond or retry. Can be used alongside abortSignal.',
490
+ 'Timeout in milliseconds. Can be specified as a number or as an object with totalMs, stepMs, firstChunkMs, chunkMs, toolMs, and/or tools properties. totalMs sets the total timeout for the entire call. stepMs sets the timeout for each complete step, including model generation, retries, and local tool execution. firstChunkMs sets the timeout until the first content-bearing output in each step; metadata, stream starts, empty deltas, raw chunks, and transport activity do not satisfy it. chunkMs starts with the first meaningful model output and limits gaps between subsequent meaningful model output chunks. Both output timers stop when the model response finishes and start fresh for each retry or later model call. Local tool results, including preliminary results, do not reset them; local tool execution is outside their scope. Provider-executed tools remain within the model response. toolMs sets the default timeout for all tool executions. tools sets per-tool timeout overrides using the pattern {toolName}Ms (e.g. weatherMs, slowApiMs) that take precedence over toolMs - tool names are type-checked for autocomplete. If a tool takes longer than its timeout, it aborts and returns a tool-error so the model can respond or retry. Can be used alongside abortSignal.',
491
491
  },
492
492
  {
493
493
  name: 'headers',
@@ -2265,7 +2265,7 @@ To see `streamText` in action, check out [these examples](#examples).
2265
2265
  type: '(event: GenerateTextStepStartEvent) => PromiseLike<void> | void',
2266
2266
  isOptional: true,
2267
2267
  description:
2268
- 'Callback that is called when a step (LLM call) begins, before the provider is called. Errors thrown in this callback are silently caught and do not break the generation flow.',
2268
+ 'Callback that is called when a step begins, before the provider is called. Errors thrown in this callback are silently caught and do not break the generation flow.',
2269
2269
  properties: [
2270
2270
  {
2271
2271
  type: 'GenerateTextStepStartEvent',
@@ -39,6 +39,13 @@ const { embedding } = await embed({
39
39
  type: 'VALUE',
40
40
  description: 'The value to embed. The type depends on the model.',
41
41
  },
42
+ {
43
+ name: 'dimensions',
44
+ type: 'number',
45
+ isOptional: true,
46
+ description:
47
+ 'Requested output embedding dimensions. Must be a positive integer. Forwarded to the model; requires support in the provider implementation. Provider mappings are being added separately. Use providerOptions until your provider supports this setting.',
48
+ },
42
49
  {
43
50
  name: 'maxRetries',
44
51
  type: 'number',
@@ -165,6 +172,13 @@ const { embedding } = await embed({
165
172
  type: 'string | Array<string>',
166
173
  description: 'The value being embedded.',
167
174
  },
175
+ {
176
+ name: 'dimensions',
177
+ type: 'number',
178
+ isOptional: true,
179
+ description:
180
+ 'Requested output embedding dimensions, when specified.',
181
+ },
168
182
  {
169
183
  name: 'maxRetries',
170
184
  type: 'number',
@@ -48,6 +48,13 @@ const { embeddings } = await embedMany({
48
48
  type: 'Array<string>',
49
49
  description: 'The values to embed.',
50
50
  },
51
+ {
52
+ name: 'dimensions',
53
+ type: 'number',
54
+ isOptional: true,
55
+ description:
56
+ 'Requested output embedding dimensions. Must be a positive integer. Forwarded to the model; requires support in the provider implementation. Provider mappings are being added separately. Use providerOptions until your provider supports this setting.',
57
+ },
51
58
  {
52
59
  name: 'maxRetries',
53
60
  type: 'number',
@@ -182,6 +189,13 @@ const { embeddings } = await embedMany({
182
189
  description:
183
190
  'The values being embedded (array of strings for embedMany).',
184
191
  },
192
+ {
193
+ name: 'dimensions',
194
+ type: 'number',
195
+ isOptional: true,
196
+ description:
197
+ 'Requested output embedding dimensions, when specified.',
198
+ },
185
199
  {
186
200
  name: 'maxRetries',
187
201
  type: 'number',
@@ -306,7 +306,7 @@ To see `ToolLoopAgent` in action, check out [these examples](#examples).
306
306
  type: 'GenerateTextOnStepStartCallback',
307
307
  isOptional: true,
308
308
  description:
309
- 'Callback that is called when a step (LLM call) begins, before the provider is called. Each step represents a single LLM invocation. If also specified in `generate()` or `stream()`, both callbacks are called (constructor first).',
309
+ 'Callback that is called when a step begins, before the provider is called. Each step includes a model generation and any associated local tool execution; provider retries remain within the same step. If also specified in `generate()` or `stream()`, both callbacks are called (constructor first).',
310
310
  properties: [
311
311
  {
312
312
  type: 'GenerateTextStepStartEvent',
@@ -726,7 +726,7 @@ const result = await agent.generate({
726
726
  type: 'number | { totalMs?: number; stepMs?: number; firstChunkMs?: number; chunkMs?: number }',
727
727
  isOptional: true,
728
728
  description:
729
- 'Timeout in milliseconds. Can be specified as a number or as an object with totalMs, stepMs, firstChunkMs, and/or chunkMs properties. firstChunkMs and chunkMs have no effect on generate(); they are streaming-only and are enforced by stream(). Can be used alongside abortSignal.',
729
+ 'Timeout in milliseconds. Can be specified as a number or as an object with totalMs, stepMs, firstChunkMs, and/or chunkMs properties. stepMs limits each complete step, including model generation, retries, and local tool execution. firstChunkMs and chunkMs have no effect on generate(); they are streaming-only and are enforced by stream(). Can be used alongside abortSignal.',
730
730
  },
731
731
  {
732
732
  name: 'experimental_sandbox',
@@ -754,7 +754,7 @@ const result = await agent.generate({
754
754
  type: 'GenerateTextOnStepStartCallback',
755
755
  isOptional: true,
756
756
  description:
757
- 'Callback that is called when a step (LLM call) begins, before the provider is called. If also specified in the constructor, both callbacks are called (constructor first).',
757
+ 'Callback that is called when a step begins, before the provider is called. If also specified in the constructor, both callbacks are called (constructor first).',
758
758
  },
759
759
  {
760
760
  name: 'onToolExecutionStart',
@@ -842,7 +842,7 @@ for await (const chunk of stream.textStream) {
842
842
  type: 'number | { totalMs?: number; stepMs?: number; firstChunkMs?: number; chunkMs?: number }',
843
843
  isOptional: true,
844
844
  description:
845
- 'Timeout in milliseconds. Can be specified as a number or as an object with totalMs, stepMs, firstChunkMs, and/or chunkMs properties. firstChunkMs limits the wait for the first content-bearing output in each model-call step. chunkMs limits gaps between later content-bearing output chunks. Can be used alongside abortSignal.',
845
+ 'Timeout in milliseconds. Can be specified as a number or as an object with totalMs, stepMs, firstChunkMs, and/or chunkMs properties. stepMs limits each complete step, including model generation, retries, and local tool execution. firstChunkMs limits the wait for the first content-bearing output in each model-call step. chunkMs starts with the first meaningful model output and limits gaps between subsequent meaningful model output chunks. Both output timers stop when the model response finishes and start fresh for each retry or later model call; they exclude retry backoff and local tool execution. Tool results, including preliminary results, do not reset them. Provider-executed tools remain within the model response. Can be used alongside abortSignal.',
846
846
  },
847
847
  {
848
848
  name: 'experimental_sandbox',
@@ -877,7 +877,7 @@ for await (const chunk of stream.textStream) {
877
877
  type: 'GenerateTextOnStepStartCallback',
878
878
  isOptional: true,
879
879
  description:
880
- 'Callback that is called when a step (LLM call) begins, before the provider is called. If also specified in the constructor, both callbacks are called (constructor first).',
880
+ 'Callback that is called when a step begins, before the provider is called. If also specified in the constructor, both callbacks are called (constructor first).',
881
881
  },
882
882
  {
883
883
  name: 'onToolExecutionStart',
@@ -59,10 +59,10 @@ experimental webhook delivery, see the [MCP Events guide](/docs/ai-sdk-core/mcp-
59
59
  },
60
60
  {
61
61
  name: 'adapter',
62
- type: 'Experimental_MCPEventsAdapter',
62
+ type: 'Experimental_MCPEventAdapter',
63
63
  isOptional: true,
64
64
  description:
65
- 'Delegates subscription management to a backend. Cannot be combined with store or validateArguments. No local event store or refresh loop is required.',
65
+ "Required in managed mode. Creates bound subscription operations once before transport startup, receiving transport metadata: { type, url } for HTTP/SSE or { type: 'custom' } for custom transports. Cannot be combined with store or validateArguments. No local event store or refresh loop is required.",
66
66
  },
67
67
  {
68
68
  name: 'validateArguments',