@ai-sdk/provider 0.0.6 → 0.0.7

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/dist/index.d.mts CHANGED
@@ -629,8 +629,9 @@ Can be one of the following:
629
629
  - `tool-calls`: model triggered tool calls
630
630
  - `error`: model stopped because of an error
631
631
  - `other`: model stopped for other reasons
632
+ - `unknown`: the model has not transmitted a finish reason
632
633
  */
633
- type LanguageModelV1FinishReason = 'stop' | 'length' | 'content-filter' | 'tool-calls' | 'error' | 'other';
634
+ type LanguageModelV1FinishReason = 'stop' | 'length' | 'content-filter' | 'tool-calls' | 'error' | 'other' | 'unknown';
634
635
 
635
636
  type LanguageModelV1FunctionToolCall = {
636
637
  toolCallType: 'function';
package/dist/index.d.ts CHANGED
@@ -629,8 +629,9 @@ Can be one of the following:
629
629
  - `tool-calls`: model triggered tool calls
630
630
  - `error`: model stopped because of an error
631
631
  - `other`: model stopped for other reasons
632
+ - `unknown`: the model has not transmitted a finish reason
632
633
  */
633
- type LanguageModelV1FinishReason = 'stop' | 'length' | 'content-filter' | 'tool-calls' | 'error' | 'other';
634
+ type LanguageModelV1FinishReason = 'stop' | 'length' | 'content-filter' | 'tool-calls' | 'error' | 'other' | 'unknown';
634
635
 
635
636
  type LanguageModelV1FunctionToolCall = {
636
637
  toolCallType: 'function';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/provider",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",