mirror of
https://github.com/router-for-me/CLIProxyAPIPlus.git
synced 2026-03-08 06:43:41 +00:00
fix(translator): comment out service_tier removal from OpenAI response processing
This commit is contained in:
@@ -25,7 +25,7 @@ func ConvertOpenAIResponsesRequestToCodex(modelName string, inputRawJSON []byte,
|
|||||||
rawJSON, _ = sjson.DeleteBytes(rawJSON, "max_completion_tokens")
|
rawJSON, _ = sjson.DeleteBytes(rawJSON, "max_completion_tokens")
|
||||||
rawJSON, _ = sjson.DeleteBytes(rawJSON, "temperature")
|
rawJSON, _ = sjson.DeleteBytes(rawJSON, "temperature")
|
||||||
rawJSON, _ = sjson.DeleteBytes(rawJSON, "top_p")
|
rawJSON, _ = sjson.DeleteBytes(rawJSON, "top_p")
|
||||||
rawJSON, _ = sjson.DeleteBytes(rawJSON, "service_tier")
|
// rawJSON, _ = sjson.DeleteBytes(rawJSON, "service_tier")
|
||||||
rawJSON, _ = sjson.DeleteBytes(rawJSON, "truncation")
|
rawJSON, _ = sjson.DeleteBytes(rawJSON, "truncation")
|
||||||
rawJSON = applyResponsesCompactionCompatibility(rawJSON)
|
rawJSON = applyResponsesCompactionCompatibility(rawJSON)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user