mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-22 16:43:35 +00:00
fix: openai的api转发剔除多余参数
This commit is contained in:
@@ -128,7 +128,8 @@ router.post('/responses', authenticateApiKey, async (req, res) => {
|
||||
'max_output_tokens',
|
||||
'user',
|
||||
'text_formatting',
|
||||
'truncation'
|
||||
'truncation',
|
||||
'service_tier'
|
||||
]
|
||||
fieldsToRemove.forEach((field) => {
|
||||
delete req.body[field]
|
||||
|
||||
Reference in New Issue
Block a user