otari
otari copied to clipboard
Open-source, OpenAI-compatible LLM gateway you run yourself. One endpoint for 40+ providers, with virtual keys, budgets, and usage tracking.
An OAuth app's key holds the scopes its `config.yml` registration names. #3191 made those scopes visible on the consent screen, bound them to the grant, and returned them in the...
Otari has been an OAuth 2.0 authorization server since #2946 but publishes no discovery document, so every client must be told the authorization, token and revocation URLs out of band....
### Problem or use case On hosted otari.ai, `GET /api/v1/key/usage/summary` called with an ordinary API key returns the account's email address in the response: ```bash curl -sS https://api.otari.ai/api/v1/key/usage/summary \ -H...
**Otari version:** otari.ai (hosted), observed 2026-11-13 IST **Python version:** n/a (hosted) **How you're running Otari:** hosted platform, `https://api.otari.ai/api/v1` **Provider and model:** meta/llama-3.3-70b-instruct via `bedrock:meta.llama3-3-70b-instruct-v1:0` **Reproduces with a direct any-llm call?**...
### Problem `api/routes/_pipeline.py` holds the mapping from an upstream provider failure to the response a client sees: which status code, which error kind, which headers, and which detail string. That...
`log_batch_usage` writes a provider's error text into `UsageLog.error_message` without redacting it first. `src/gateway/api/routes/batches.py:530` passes `error=str(e)` after a failed batch create, and `src/gateway/api/routes/batches.py:181` writes that string into the row unchanged. The...
## What happens Otari accepts an address such as `jö[email protected]` as valid. Every email to it then fails to send: verification, password reset, and invitations. ## Why `SmtpTransport.deliver` in `src/gateway/services/mail/transports.py`...
## Problem The word "roster" is used across the repository for four unrelated things. A reader cannot tell which is meant without opening the file. | What it means in...
Part of #1171. ## Problem The code has two verbs for one state of a hosted model. The data model has one word. A row of `hosted_provider_models` has an `enabled`...
## Problem When a provider refuses to serve a hosted model on the deployment's own credential, the health checks disable the model and email the alert list. The two steps...