mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-23 09:38:02 +00:00
fix: codex转发store默认false
This commit is contained in:
@@ -153,7 +153,7 @@ router.post('/responses', authenticateApiKey, async (req, res) => {
|
|||||||
headers['host'] = 'chatgpt.com'
|
headers['host'] = 'chatgpt.com'
|
||||||
headers['accept'] = isStream ? 'text/event-stream' : 'application/json'
|
headers['accept'] = isStream ? 'text/event-stream' : 'application/json'
|
||||||
headers['content-type'] = 'application/json'
|
headers['content-type'] = 'application/json'
|
||||||
req.body['store'] = true
|
req.body['store'] = false
|
||||||
|
|
||||||
// 创建代理 agent
|
// 创建代理 agent
|
||||||
const proxyAgent = createProxyAgent(proxy)
|
const proxyAgent = createProxyAgent(proxy)
|
||||||
|
|||||||
Reference in New Issue
Block a user