refactor(pr): remove forbidden translator changes
Drop the chat-completions translator edits from this PR so the branch complies with the repository policy that forbids pull-request changes under internal/translator. The remaining PR stays focused on the executor-level Codex continuity fix that was validated to restore cache reuse.
This commit is contained in:
@@ -65,9 +65,6 @@ func ConvertOpenAIRequestToCodex(modelName string, inputRawJSON []byte, stream b
|
||||
|
||||
// Model
|
||||
out, _ = sjson.SetBytes(out, "model", modelName)
|
||||
if v := gjson.GetBytes(rawJSON, "prompt_cache_retention"); v.Exists() {
|
||||
out, _ = sjson.SetBytes(out, "prompt_cache_retention", v.Value())
|
||||
}
|
||||
|
||||
// Build tool name shortening map from original tools (if any)
|
||||
originalToolNameMap := map[string]string{}
|
||||
|
||||
Reference in New Issue
Block a user