fix: multi-provider auth and API type support#7
Open
interplanetarychris wants to merge 4 commits intojgarzik:mainfrom
Open
fix: multi-provider auth and API type support#7interplanetarychris wants to merge 4 commits intojgarzik:mainfrom
interplanetarychris wants to merge 4 commits intojgarzik:mainfrom
Conversation
OpenClaw sends different auth headers based on API type: - openai-completions: Authorization: Bearer <apiKey> - anthropic-messages: x-api-key: <apiKey> The keyring-proxy now accepts both authentication methods, fixing 401 "Missing authorization" errors for Anthropic and Venice providers. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
OpenClaw's anthropic-messages API includes /v1 in its request path, so the vendor basePath should be empty to avoid double /v1/v1 in the forwarded URL. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
BotMaker was hardcoding 'openai-responses' API type for all providers. Now correctly maps: - openai → openai-responses - anthropic → anthropic-messages - venice → openai-completions (OpenAI-compatible) - google → google-gemini Added tests for anthropic and venice proxy configurations. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add OpenRouter as a new provider with curated model list - Add keyHint field to provider configs for API key format hints - Dynamic API key placeholder in AddKeyForm based on selected provider - Update Venice model list with current recommended models Provider key hints: - OpenAI: sk-... - Anthropic: sk-ant-... - Google: AIza... - Venice: VENICE-INFERENCE-KEY-... - OpenRouter: sk-or-... Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
vincenthehna
reviewed
Feb 4, 2026
| { id: 'anthropic/claude-opus-4-5', label: 'Claude Opus 4.5' }, | ||
| { id: 'anthropic/claude-sonnet-4-5', label: 'Claude Sonnet 4.5' }, | ||
| { id: 'openai/gpt-5.2', label: 'GPT-5.2' }, | ||
| { id: 'google/gemini-3-pro', label: 'Gemini 3 Pro' }, |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Authorization: Bearerandx-api-keyheaders for Anthropic-style APIs/v1in requests)anthropic-messagesvsopenai-completions)Changes
proxy/src/routes/proxy.tsx-api-keyheader in addition toAuthorization: Bearerproxy/src/types.ts/v1)src/bots/templates.tsapitype per providerdashboard/src/config/providers/Test plan
x-api-keyheader acceptedAuthorization: Bearerworks🤖 Generated with Claude Code