@ai-sdk/cohere
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -154,4 +154,7 @@ "use strict"; | ||
topP, | ||
topK, | ||
frequencyPenalty, | ||
presencePenalty, | ||
stopSequences, | ||
responseFormat, | ||
seed | ||
@@ -173,3 +176,7 @@ }) { | ||
p: topP, | ||
k: topK, | ||
seed, | ||
stop_sequences: stopSequences, | ||
// response format: | ||
response_format: (responseFormat == null ? void 0 : responseFormat.type) === "json" ? { type: "json_object", schema: responseFormat.schema } : void 0, | ||
// messages: | ||
@@ -193,7 +200,2 @@ chat_history: history, | ||
} | ||
case "object-grammar": { | ||
throw new import_provider2.UnsupportedFunctionalityError({ | ||
functionality: "object-grammar mode" | ||
}); | ||
} | ||
default: { | ||
@@ -200,0 +202,0 @@ const _exhaustiveCheck = type; |
@@ -154,4 +154,7 @@ "use strict"; | ||
topP, | ||
topK, | ||
frequencyPenalty, | ||
presencePenalty, | ||
stopSequences, | ||
responseFormat, | ||
seed | ||
@@ -173,3 +176,7 @@ }) { | ||
p: topP, | ||
k: topK, | ||
seed, | ||
stop_sequences: stopSequences, | ||
// response format: | ||
response_format: (responseFormat == null ? void 0 : responseFormat.type) === "json" ? { type: "json_object", schema: responseFormat.schema } : void 0, | ||
// messages: | ||
@@ -193,7 +200,2 @@ chat_history: history, | ||
} | ||
case "object-grammar": { | ||
throw new import_provider2.UnsupportedFunctionalityError({ | ||
functionality: "object-grammar mode" | ||
}); | ||
} | ||
default: { | ||
@@ -200,0 +202,0 @@ const _exhaustiveCheck = type; |
{ | ||
"name": "@ai-sdk/cohere", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"license": "Apache-2.0", | ||
@@ -21,4 +21,4 @@ "sideEffects": false, | ||
"dependencies": { | ||
"@ai-sdk/provider": "0.0.12", | ||
"@ai-sdk/provider-utils": "1.0.2" | ||
"@ai-sdk/provider": "0.0.13", | ||
"@ai-sdk/provider-utils": "1.0.3" | ||
}, | ||
@@ -25,0 +25,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
82870
1203
+ Added@ai-sdk/provider@0.0.13(transitive)
+ Added@ai-sdk/provider-utils@1.0.3(transitive)
- Removed@ai-sdk/provider@0.0.12(transitive)
- Removed@ai-sdk/provider-utils@1.0.2(transitive)
Updated@ai-sdk/provider@0.0.13
Updated@ai-sdk/provider-utils@1.0.3