Skip to content

Commit cb090b2

Browse files
committed
fix: update temperature setting and correct model names in providerPreset.json
1 parent c191961 commit cb090b2

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

src/api/providerPreset.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,15 +114,15 @@
114114
"apiKeyRequired": true,
115115
"modelsList": "https://api-docs.deepseek.com/quick_start/pricing",
116116
"baseUrl": "https://api.deepseek.com/v1/chat/completions",
117-
"temperature": 0.6,
117+
"temperature": 1.0,
118118
"popularModels": [
119119
{
120-
"id": "deepseek-v3",
121-
"name": "DeepSeek V3"
120+
"id": "deepseek-chat",
121+
"name": "DeepSeek-V3"
122122
},
123123
{
124-
"id": "deepseek-r1",
125-
"name": "DeepSeek R1"
124+
"id": "deepseek-reasoner",
125+
"name": "DeepSeek-R1"
126126
}
127127
]
128128
},

src/api/providers/DeepSeek.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@ export class DeepSeek implements APIProvider {
3131
messages: messages,
3232
temperature: provider.temperature ?? temperature,
3333
response_format: { type: 'json_object' },
34-
max_tokens: 8192, // max token : https://api-docs.deepseek.com/quick_start/pricing
34+
max_tokens: 8192, // max output token : https://api-docs.deepseek.com/quick_start/pricing
3535
};
36-
3736
const response = await sendRequest(provider.baseUrl, headers, data);
3837

3938
return this.processApiResponse(response);

0 commit comments

Comments
 (0)