feat(auth): added auth-gateway forward-proxy and broker usage/migrate endpoints
- Added `omp auth-gateway serve/token/status` — a forward-proxy injecting broker credentials for OpenAI Chat, Anthropic Messages, and OpenAI Responses wire formats. - Added `GET /v1/usage` to auth-broker and auth-gateway; usage cache switched to 5-min per-credential TTL with jitter and last-good fallback on failure. - Added `AuthStorage.setConfigApiKey/removeConfigApiKey/clearConfigApiKeys` so `models.yml` `apiKey` beats OAuth tokens without overriding `--api-key`. - Added `omp auth-broker migrate --from-local` for idempotent upload of local SQLite/env credentials to the broker.
This commit is contained in:
@@ -93,8 +93,8 @@ GITHUB_TOKEN=
|
||||
# =============================================================================
|
||||
# Either a single model id or a comma-separated pool — roboomp picks one
|
||||
# uniformly at random per task. Use the `<provider>/<model>` form that matches
|
||||
# your ~/.omp/agent/models.yml (which is mounted into the container).
|
||||
ROBOMP_MODEL=p-anthropic/claude-sonnet-4-6
|
||||
# your ~/.omp/agent/models.container.yml (which is mounted into the container as models.yml).
|
||||
ROBOMP_MODEL=anthropic/claude-sonnet-4-6
|
||||
# off|low|medium|high
|
||||
ROBOMP_THINKING=high
|
||||
# Optional provider override (passed to `omp --provider`).
|
||||
|
||||
Reference in New Issue
Block a user