@ai-sdk/deepseek 3.0.0-canary.39 → 3.0.0-canary.40
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 +7 -0
- package/dist/index.js +1 -1
- package/docs/30-deepseek.mdx +4 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -718,7 +718,7 @@ var DeepSeekChatLanguageModel = class _DeepSeekChatLanguageModel {
|
|
|
718
718
|
};
|
|
719
719
|
|
|
720
720
|
// src/version.ts
|
|
721
|
-
var VERSION = true ? "3.0.0-canary.
|
|
721
|
+
var VERSION = true ? "3.0.0-canary.40" : "0.0.0-test";
|
|
722
722
|
|
|
723
723
|
// src/deepseek-provider.ts
|
|
724
724
|
function createDeepSeek(options = {}) {
|
package/docs/30-deepseek.mdx
CHANGED
|
@@ -96,7 +96,6 @@ The following optional provider options are available for DeepSeek models:
|
|
|
96
96
|
- `thinking` _object_
|
|
97
97
|
|
|
98
98
|
Optional. Controls thinking mode (chain-of-thought reasoning). You can enable thinking mode either by using the `deepseek-reasoner` model or by setting this option.
|
|
99
|
-
|
|
100
99
|
- `type`: `'enabled' | 'disabled'` - Enable or disable thinking mode.
|
|
101
100
|
|
|
102
101
|
- `reasoningEffort` _'high' | 'max'_
|
|
@@ -106,7 +105,10 @@ The following optional provider options are available for DeepSeek models:
|
|
|
106
105
|
as `high`, while `xhigh` is sent as `max`.
|
|
107
106
|
|
|
108
107
|
```ts highlight="7-12"
|
|
109
|
-
import {
|
|
108
|
+
import {
|
|
109
|
+
deepSeek,
|
|
110
|
+
type DeepSeekLanguageModelChatOptions,
|
|
111
|
+
} from '@ai-sdk/deepseek';
|
|
110
112
|
import { generateText } from 'ai';
|
|
111
113
|
|
|
112
114
|
const { text, reasoning } = await generateText({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-sdk/deepseek",
|
|
3
|
-
"version": "3.0.0-canary.
|
|
3
|
+
"version": "3.0.0-canary.40",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@ai-sdk/provider": "4.0.0-canary.16",
|
|
33
|
-
"@ai-sdk/provider-utils": "5.0.0-canary.
|
|
33
|
+
"@ai-sdk/provider-utils": "5.0.0-canary.36"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "20.17.24",
|