fix: 应用模型更改为gpt-4o-mini

This commit is contained in:
Shu Guang 2025-04-20 21:39:47 +08:00
parent b05921c1a5
commit 57b1582c11
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-ai/DeepSeek-R1', model: 'gpt-4o-mini',
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-ai/DeepSeek-R1', model: 'gpt-4o-mini',
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-ai/DeepSeek-R1', model: 'gpt-4o-mini',
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-ai/DeepSeek-R1', model: 'gpt-4o-mini',
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-ai/DeepSeek-R1', model: 'gpt-4o-mini',
messages: [ messages: [
{ {
role: 'user', role: 'user',