更新 src/hooks/useAIRequest.ts

Signed-off-by: 曙光 <shuguang@noreply.localhost>
This commit is contained in:
曙光 2025-05-10 13:54:11 +08:00
parent 015fe34820
commit 06e2371843

View File

@ -18,7 +18,7 @@ const useAIRequest = () => {
method: 'POST', method: 'POST',
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',
'Authorization': 'Bearer sk-mw9ekhJlSj3GeGiw0hLRSHlwdkDFst8q6oBfQrW0L15QilbY' 'Authorization': 'Bearer sk-1PBIyxIdJ42yyC11XRNqbEXYDt2eZRNVNbd8XxmKjnPXGh5S'
}, },
body: JSON.stringify({ body: JSON.stringify({
model: options.model || 'gpt-4o-mini', model: options.model || 'gpt-4o-mini',