Commit Graph

5 Commits

  • Enhance logging for API requests and responses across executors
    - Added detailed logging of upstream request metadata including URL, method, headers, and body for Codex, Gemini, IFlow, OpenAI Compat, and Qwen executors.
    - Implemented error logging for API response failures to capture errors during HTTP requests.
    - Introduced structured logging for authentication details (AuthID, AuthLabel, AuthType, AuthValue) to improve traceability.
    - Updated response logging to include status codes and headers for better debugging.
    - Ensured that all executors consistently log API interactions to facilitate monitoring and troubleshooting.
  • feat: enhance request logging and account handling in CLI proxy
    - Added helper functions to log API request and response payloads in the Gin context.
    - Improved `AccountInfo` to support cookie-based authentication in addition to API key and OAuth.
    - Updated log messages for better clarity on account types used.