fix: 应用模型为deepseek-R1

This commit is contained in:
Shu Guang 2025-04-20 21:37:54 +08:00
parent 23dcdc6ac6
commit b05921c1a5
3 changed files with 5 additions and 5 deletions

View File

@ -77,7 +77,7 @@ const CodeAnalysisPage: React.FC = () => {
'Authorization': 'Bearer sk-mw9ekhJlSj3GeGiw0hLRSHlwdkDFst8q6oBfQrW0L15QilbY' 'Authorization': 'Bearer sk-mw9ekhJlSj3GeGiw0hLRSHlwdkDFst8q6oBfQrW0L15QilbY'
}, },
body: JSON.stringify({ body: JSON.stringify({
model: 'deepseek-chat', model: 'deepseek-ai/DeepSeek-R1',
messages: [ messages: [
{ {
role: 'user', role: 'user',

View File

@ -126,7 +126,7 @@ const AnalysisCenter: React.FC = () => {
'Authorization': 'Bearer sk-mw9ekhJlSj3GeGiw0hLRSHlwdkDFst8q6oBfQrW0L15QilbY' 'Authorization': 'Bearer sk-mw9ekhJlSj3GeGiw0hLRSHlwdkDFst8q6oBfQrW0L15QilbY'
}, },
body: JSON.stringify({ body: JSON.stringify({
model: 'deepseek-chat', model: 'deepseek-ai/DeepSeek-R1',
messages: [ messages: [
{ {
role: 'system', role: 'system',
@ -208,7 +208,7 @@ const AnalysisCenter: React.FC = () => {
'Authorization': 'Bearer sk-mw9ekhJlSj3GeGiw0hLRSHlwdkDFst8q6oBfQrW0L15QilbY' 'Authorization': 'Bearer sk-mw9ekhJlSj3GeGiw0hLRSHlwdkDFst8q6oBfQrW0L15QilbY'
}, },
body: JSON.stringify({ body: JSON.stringify({
model: 'deepseek-chat', model: 'deepseek-ai/DeepSeek-R1',
messages: [ messages: [
{ {
role: 'system', role: 'system',

View File

@ -105,7 +105,7 @@ const ReportPage: React.FC = () => {
'Authorization': 'Bearer sk-mw9ekhJlSj3GeGiw0hLRSHlwdkDFst8q6oBfQrW0L15QilbY' 'Authorization': 'Bearer sk-mw9ekhJlSj3GeGiw0hLRSHlwdkDFst8q6oBfQrW0L15QilbY'
}, },
body: JSON.stringify({ body: JSON.stringify({
model: 'deepseek-chat', model: 'deepseek-ai/DeepSeek-R1',
messages: [ messages: [
{ {
role: 'user', role: 'user',
@ -196,7 +196,7 @@ const handleDownload = async () => {
'Authorization': 'Bearer sk-mw9ekhJlSj3GeGiw0hLRSHlwdkDFst8q6oBfQrW0L15QilbY' 'Authorization': 'Bearer sk-mw9ekhJlSj3GeGiw0hLRSHlwdkDFst8q6oBfQrW0L15QilbY'
}, },
body: JSON.stringify({ body: JSON.stringify({
model: 'deepseek-chat', model: 'deepseek-ai/DeepSeek-R1',
messages: [ messages: [
{ {
role: 'user', role: 'user',