更新 src/hooks/useAIRequest.ts
Signed-off-by: 曙光 <shuguang@noreply.localhost>
This commit is contained in:
parent
015fe34820
commit
06e2371843
@ -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',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user