Merge pull request #2499 from yetone/fix/codex-transform-fc-underscore

fix(codex-transform): preserve underscore when rewriting `call_*` tool-call ids
This commit is contained in:
Wesley Liddick authored and GitHub committed 2026-05-19 09:39:25 +08:00
commit 11870cf84f
1 file changed
+1 -1
@@ -1030,7 +1030,7 @@ func filterCodexInputWithOptions(input []any, opts codexInputFilterOptions) []an
return id
}
if strings.HasPrefix(id, "call_") {
return "fc" + strings.TrimPrefix(id, "call_")
return "fc_" + strings.TrimPrefix(id, "call_")
}
return "fc_" + id
}