ai 6.0.268 → 6.0.270

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # ai
2
2
 
3
+ ## 6.0.270
4
+
5
+ ### Patch Changes
6
+
7
+ - 8bc01a1: Allow chats to continue automatically after tool approval denials reach the `output-denied` state.
8
+ - fa01949: Handle stitchable stream cancellation before an inner stream is registered.
9
+
10
+ ## 6.0.269
11
+
12
+ ### Patch Changes
13
+
14
+ - 9a521b9: Split OpenAI and Azure OpenAI embedding requests by a conservative UTF-8 byte budget derived from their aggregate token limit, in addition to input count limits.
15
+ - Updated dependencies [8ddf255]
16
+ - Updated dependencies [9a521b9]
17
+ - @ai-sdk/gateway@3.0.184
18
+ - @ai-sdk/provider-utils@4.0.49
19
+
3
20
  ## 6.0.268
4
21
 
5
22
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -4486,8 +4486,9 @@ interface EmbedManyResult {
4486
4486
  * Embed several values using an embedding model. The type of the value is defined
4487
4487
  * by the embedding model.
4488
4488
  *
4489
- * `embedMany` automatically splits large requests into smaller chunks if the model
4490
- * has a limit on how many embeddings can be generated in a single call.
4489
+ * `embedMany` automatically splits large requests into smaller chunks when the
4490
+ * model has a limit on either the number of embeddings or the UTF-8 input bytes
4491
+ * that can be processed in a single call.
4491
4492
  *
4492
4493
  * @param model - The embedding model to use.
4493
4494
  * @param values - The values that should be embedded.
package/dist/index.d.ts CHANGED
@@ -4486,8 +4486,9 @@ interface EmbedManyResult {
4486
4486
  * Embed several values using an embedding model. The type of the value is defined
4487
4487
  * by the embedding model.
4488
4488
  *
4489
- * `embedMany` automatically splits large requests into smaller chunks if the model
4490
- * has a limit on how many embeddings can be generated in a single call.
4489
+ * `embedMany` automatically splits large requests into smaller chunks when the
4490
+ * model has a limit on either the number of embeddings or the UTF-8 input bytes
4491
+ * that can be processed in a single call.
4491
4492
  *
4492
4493
  * @param model - The embedding model to use.
4493
4494
  * @param values - The values that should be embedded.