mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-21 10:21:08 +00:00
- Implement X-Initiator header logic in GithubCopilotConfig.validate_environment() - Set header to "agent" when messages contain agent or tool roles, "user" otherwise - Reduces unnecessary premium Copilot API usage for non-user calls Fixes #12859