@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 +2 -1
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
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';
|