mirror of
https://github.com/Gitlawb/openclaude.git
synced 2026-08-24 10:14:19 -05:00
feat(aimlapi): provider foundation (1/5) — config, catalog, ambient-key gate (#1995)
* feat(aimlapi): provider foundation — config, catalog, ambient-key gate First layer of the AI/ML API onboarding split. Self-contained: config endpoints + partner-header resolution, gateway catalog entry, runtime metadata and artifact-generator wiring, and the regenerated integration manifest. Also lands the P1 security fix in providerProfiles: an ambient AIMLAPI key is only forwarded when the profile targets the canonical inference endpoint, so a proxy/staging profile can never leak the key elsewhere. No client/checkout/UI changes here — those stack in later PRs. * fix(aimlapi): harden credential gating and restore renamed-preset test path * fix(aimlapi): harden credential gating and finish renamed-preset path * fix(aimlapi): finish aimlapi.com rename in provider UI; gate generic proxy credential * fix(aimlapi): close remaining proxy credential and attribution leaks * fix(aimlapi): withhold ambient credentials and attribution from proxies * fix(aimlapi): withhold ambient credentials and attribution from proxies * fix(aimlapi): stop forcing profile credentials onto retargeted endpoints * fix(aimlapi): withhold ambient custom headers from proxy launches --------- Co-authored-by: Lookoff123 <bataryshkinairina@gmail.com>
This commit is contained in:
@@ -13,7 +13,7 @@ None. You don't need to visit <https://aimlapi.com> first — the guided top-up
|
||||
## Option 1 — Interactive (`/provider`)
|
||||
|
||||
1. Start OpenClaude and run `/provider`.
|
||||
2. Choose **AI/ML API**, then confirm the default model (Step 1 of 2).
|
||||
2. Choose **aimlapi.com**, then confirm the default model (Step 1 of 2).
|
||||
3. Step 2 of 2 — choose how to get an API key:
|
||||
- **Top up and get API key** — enter your AI/ML API email and password (an account is created automatically if you don't have one yet), pick a top-up amount ($20–$10,000) and payment method (card or crypto), complete payment in the browser, and OpenClaude saves the issued key for you.
|
||||
- **Enter existing API key** — paste a key you already have from the AI/ML API dashboard.
|
||||
@@ -59,7 +59,7 @@ export OPENAI_MODEL="gpt-4o"
|
||||
|
||||
## Verify
|
||||
|
||||
- `/status` shows **AI/ML API** as the active provider with the `https://api.aimlapi.com/v1` base URL.
|
||||
- `/status` shows **aimlapi.com** as the active provider with the `https://api.aimlapi.com/v1` base URL.
|
||||
- `/model` lists chat-capable models discovered from the catalog.
|
||||
- Send any prompt to confirm responses come back from the selected model.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user