@@ -29,7 +29,9 @@ const aiApis = {
}, {
params: {
dialogueId: dialogueId
- }
+ },
+ timeout: 60000, // 设置60秒超时(默认通常是0,表示不超时)
+ timeoutErrorMessage: '请求超时,请稍后重试'
})
},
rewrite(assignmentId: number, userId: number) {