Files
CLIProxyAPI/internal/runtime/executor/xai_executor.go
Luis Pater 5026f36531 feat(executor): pass through downstream User-Agent and set default xAI User-Agent
- Forward downstream User-Agent headers in xAI non-CLI-proxy and WebSocket requests with fallback to the Grok workspace User-Agent instead of Go's default HTTP client User-Agent.
- Forward downstream User-Agent headers in OpenAI-compatible requests while retaining cli-proxy-openai-compat as the fallback and preserving custom header overrides.

Closes: #6791
2026-10-20 17:05:03 +08:00

5.0 KiB