Repository navigation
Conversation
johnstcn
force-pushed
the
feat/aigov-601-header-forwarding
branch
from
September 23, 2026 21:55
92520d0 to
5837cdf
Compare
Contributor
Docs previewCheck off each page once it's been reviewed. If a page changes in a later push, its checkbox clears automatically so it gets a fresh look. Pages not yet wired into the docs navigation aren't listed here. |
johnstcn
force-pushed
the
feat/aigov-601-header-forwarding
branch
from
September 24, 2026 10:45
afbb018 to
bde7903
Compare
This was referenced Sep 24, 2026
johnstcn
changed the base branch from
main
to
feat/ai-gateway-actor-email-headers
September 24, 2026 10:45
johnstcn
marked this pull request as ready for review
September 24, 2026 11:31
johnstcn
added a commit
that referenced
this pull request
Sep 24, 2026
) Move actor-header injection into the shared upstream-header middleware for Messages, Chat Completions, and Responses. Read the authenticated actor from the request context and remove the duplicated SDK-option injection from blocking and streaming paths, completing the TODO from @ssncferreira. Preserve the existing header names and forwarding toggle. This is the first PR in the actor-header stack: #29839 → #29840 (email forwarding) → #29812 (configurable names). Refs https://linear.app/codercom/issue/AIGOV-601 > 🤖 Generated by AI with human input.
johnstcn
force-pushed
the
feat/aigov-601-header-forwarding
branch
from
September 24, 2026 21:29
868a5f2 to
2194170
Compare
johnstcn
force-pushed
the
feat/aigov-601-header-forwarding
branch
from
September 25, 2026 15:11
2194170 to
b3c1649
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Make AI Gateway actor header names configurable through the deployment-level
actor_header_namesmap (id,username,email), available through YAML, a CLI flag, and an environment variable. Omitted entries keep their default names; configured names replace defaults rather than adding aliases.Validate attribute keys, HTTP header-name syntax, case-insensitive uniqueness, and protected destinations for embedded and standalone gateways. Keep forwarded identity tied to the authenticated account when header names are remapped.
Depends on #29840, which adds email forwarding, and transitively on #29839, which moves actor-header injection into middleware. This is the final PR in the stack.
Refs https://linear.app/codercom/issue/AIGOV-601