mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-06 16:06:08 +00:00
Rebuild history items with in-place Map surgery so unknown upstream fields survive instead of evaporating through a field whitelist. Narrow history sanitization to the known Grok-internal injection sites rather than stripping every null and any key named phase at any depth. Ensure the prompt-cache route's injected web_search/x_search tools can never be actually invoked when the client sent its own tools. Batch the selector's per-account observed-model-support and cooldown reads instead of a serial Redis round trip each. One plan scope failing no longer aborts the whole provider catalog refresh. Co-authored-by: Claude <noreply@anthropic.com>