mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-22 16:43:35 +00:00
为gemini请求generateContext增加超时时长
This commit is contained in:
@@ -1485,7 +1485,7 @@ async function generateContent(
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
data: request,
|
||||
timeout: 60000 // 生成内容可能需要更长时间
|
||||
timeout: 600000 // 生成内容可能需要更长时间
|
||||
}
|
||||
|
||||
// 添加代理配置
|
||||
|
||||
Reference in New Issue
Block a user