|
@@ -61,15 +61,14 @@ function Chart() {
|
|
|
`${FASTGPT_API_URL}/v1/chat/completions`,
|
|
`${FASTGPT_API_URL}/v1/chat/completions`,
|
|
|
{
|
|
{
|
|
|
messages: chatMessages,
|
|
messages: chatMessages,
|
|
|
- stream: false,
|
|
|
|
|
- model: 'gpt-3.5-turbo'
|
|
|
|
|
|
|
+ stream: false
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
headers: {
|
|
headers: {
|
|
|
Authorization: `Bearer ${decrypt(FASTGPT_API_KEY)}`,
|
|
Authorization: `Bearer ${decrypt(FASTGPT_API_KEY)}`,
|
|
|
'Content-Type': 'application/json'
|
|
'Content-Type': 'application/json'
|
|
|
},
|
|
},
|
|
|
- timeout: 30000
|
|
|
|
|
|
|
+ timeout: 90000
|
|
|
}
|
|
}
|
|
|
)
|
|
)
|
|
|
|
|
|