Skip to content

Conversation

@dannykopping
Copy link
Collaborator

Closes #60

The fix was simple: instead of creating a full Anthropic/OpenAI Client, I just created the client specific to the required API. This allowed me to inject only the option.RequestOptions I wanted, eliminating the default options from the process env.

Also includes a drive-by refactor to fix the vibe-coded nonsense of aibridge.OpenAIConfig(anthropicCfg(addr, apiKey))) to openaiCfg(addr, apiKey))

Signed-off-by: Danny Kopping <danny@coder.com>
Signed-off-by: Danny Kopping <danny@coder.com>
@dannykopping dannykopping requested a review from pawbana November 18, 2025 13:29
@dannykopping dannykopping marked this pull request as ready for review November 18, 2025 13:29
@dannykopping dannykopping marked this pull request as draft November 18, 2025 13:29
Signed-off-by: Danny Kopping <danny@coder.com>
@dannykopping dannykopping marked this pull request as ready for review November 18, 2025 16:53
@dannykopping dannykopping merged commit ba198a7 into main Nov 18, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Authorization header reflected to upstream APIs

2 participants