SanitizeCodexHeaderDefaults trims surrounding whitespace from the configured Codex header fallback values.
()
| 939 | // SanitizeCodexHeaderDefaults trims surrounding whitespace from the |
| 940 | // configured Codex header fallback values. |
| 941 | func (cfg *Config) SanitizeCodexHeaderDefaults() { |
| 942 | if cfg == nil { |
| 943 | return |
| 944 | } |
| 945 | cfg.CodexHeaderDefaults.UserAgent = strings.TrimSpace(cfg.CodexHeaderDefaults.UserAgent) |
| 946 | cfg.CodexHeaderDefaults.BetaFeatures = strings.TrimSpace(cfg.CodexHeaderDefaults.BetaFeatures) |
| 947 | } |
| 948 | |
| 949 | // SanitizeClaudeHeaderDefaults trims surrounding whitespace from the |
| 950 | // configured Claude fingerprint baseline values. |
no outgoing calls
no test coverage detected