Add Codex load balancing documentation and refine JSON handling logic

- Updated README and README_CN to include a guide for configuring multiple account load balancing with CLI Proxy API.
- Enhanced JSON handling in gemini translators by differentiating object and string outputs.
- Added commented debug logging for Gemini CLI response conversion.
This commit is contained in:
Luis Pater
2025-09-03 01:33:26 +08:00
parent b0f72736b0
commit 67e0b71c18
4 changed files with 51 additions and 1 deletions

View File

@@ -10,5 +10,6 @@ import (
func ConvertOpenAIResponsesRequestToGeminiCLI(modelName string, inputRawJSON []byte, stream bool) []byte {
rawJSON := bytes.Clone(inputRawJSON)
rawJSON = ConvertOpenAIResponsesRequestToGemini(modelName, rawJSON, stream)
// log.Debug(string(rawJSON))
return ConvertGeminiRequestToGeminiCLI(modelName, rawJSON, stream)
}