Directories
¶
| Path | Synopsis |
|---|---|
|
Package apispec embeds the management API contract, including hand-mounted operations.
|
Package apispec embeds the management API contract, including hand-mounted operations. |
|
cmd
|
|
|
remora
command
Command remora is an LLM gateway that supervises its engines behind one port.
|
Command remora is an LLM gateway that supervises its engines behind one port. |
|
internal
|
|
|
accounts
Package accounts owns remora's subscription accounts: OAuth logins, the accounts table and the OAuth engine's credentials, kept in step by reconciliation.
|
Package accounts owns remora's subscription accounts: OAuth logins, the accounts table and the OAuth engine's credentials, kept in step by reconciliation. |
|
alias
Package alias holds remora's model aliases and compiles them into a flat chain of provider targets.
|
Package alias holds remora's model aliases and compiles them into a flat chain of provider targets. |
|
api
Package api serves remora's management API under /api/* and the public /healthz probe.
|
Package api serves remora's management API under /api/* and the public /healthz probe. |
|
api/gen
Package gen provides primitives to interact with the openapi HTTP API.
|
Package gen provides primitives to interact with the openapi HTTP API. |
|
auth
Package auth holds remora's admin password, sessions and keys.
|
Package auth holds remora's admin password, sessions and keys. |
|
config
Package config loads remora's runtime settings from the environment.
|
Package config loads remora's runtime settings from the environment. |
|
cooling
Package cooling takes alias members that keep failing out of their chains for a while.
|
Package cooling takes alias members that keep failing out of their chains for a while. |
|
engine/bifrost
Package bifrost is remora's client for the front door's management API.
|
Package bifrost is remora's client for the front door's management API. |
|
engine/cliproxyapi
Package cliproxyapi is remora's client for the OAuth engine's v8 management API.
|
Package cliproxyapi is remora's client for the OAuth engine's v8 management API. |
|
engine/cliproxyapi/cliproxyapitest
Package cliproxyapitest is an in-memory fake of the OAuth engine's v8 management API for tests.
|
Package cliproxyapitest is an in-memory fake of the OAuth engine's v8 management API for tests. |
|
importer/omniroute
Package omniroute reads an OmniRoute data directory read-only and converts it into a remora.yaml document, its secrets and the OAuth credential files remora's accounts import.
|
Package omniroute reads an OmniRoute data directory read-only and converts it into a remora.yaml document, its secrets and the OAuth credential files remora's accounts import. |
|
mcp
Package mcp serves remora's management tools over the Model Context Protocol: at /mcp on the main listener and over stdio by `remora mcp`.
|
Package mcp serves remora's management tools over the Model Context Protocol: at /mcp on the main listener and over stdio by `remora mcp`. |
|
proxy
Package proxy serves remora's /v1 surface in front of the inference engine.
|
Package proxy serves remora's /v1 surface in front of the inference engine. |
|
quota
Package quota reads how much of each subscription account's quota is left.
|
Package quota reads how much of each subscription account's quota is left. |
|
reconcile
Package reconcile makes the front door (Bifrost) match remora's store: one provider per store provider, one key per provider key, one virtual key per client key and the routing rules of each alias.
|
Package reconcile makes the front door (Bifrost) match remora's store: one provider per store provider, one key per provider key, one virtual key per client key and the routing rules of each alias. |
|
reconcile/reconciletest
Package reconciletest holds an in-memory front door for tests of code that drives a reconcile.Reconciler.
|
Package reconciletest holds an in-memory front door for tests of code that drives a reconcile.Reconciler. |
|
soniox
Package soniox serves OpenAI-style speech-to-text over Soniox's async API: one multipart request becomes upload, create, poll, fetch and delete, and Soniox tokens are grouped into words and speaker segments.
|
Package soniox serves OpenAI-style speech-to-text over Soniox's async API: one multipart request becomes upload, create, poll, fetch and delete, and Soniox tokens are grouped into words and speaker segments. |
|
stats
Package stats stores derived request statistics in minute buckets.
|
Package stats stores derived request statistics in minute buckets. |
|
store
Package store is remora's SQLite store: schema, migrations and repositories.
|
Package store is remora's SQLite store: schema, migrations and repositories. |
|
supervise
Package supervise starts the engines as child processes, checks them against versions.json, waits for their health endpoints, restarts them when they crash and stops them on shutdown.
|
Package supervise starts the engines as child processes, checks them against versions.json, waits for their health endpoints, restarts them when they crash and stops them on shutdown. |
|
version
Package version holds the build version of remora, set at link time with -X github.com/47vigen/remora/internal/version.Version=...
|
Package version holds the build version of remora, set at link time with -X github.com/47vigen/remora/internal/version.Version=... |
|
test
|
|
|
e2e/fakesctl
Package fakesctl is the test-side client of the fakes' control API: it scripts a fake upstream's replies and reads back what the upstream received.
|
Package fakesctl is the test-side client of the fakes' control API: it scripts a fake upstream's replies and reads back what the upstream received. |
|
fakes
command
Command fakes serves scripted fake upstreams for the e2e tests.
|
Command fakes serves scripted fake upstreams for the e2e tests. |
|
fakes/control
Package control implements the scripted fake upstreams used by the e2e tests and the control API that scripts them and reads back what they received.
|
Package control implements the scripted fake upstreams used by the e2e tests and the control API that scripts them and reads back what they received. |
|
fakes/soniox
Package soniox is a scriptable fake of the Soniox async speech-to-text API (files and transcriptions).
|
Package soniox is a scriptable fake of the Soniox async speech-to-text API (files and transcriptions). |
|
tools
|
|
|
enginebump
command
Command enginebump decides whether an engine submodule follows a newer upstream release and, unless -dry-run is set, stages the change.
|
Command enginebump decides whether an engine submodule follows a newer upstream release and, unless -dry-run is set, stages the change. |
|
loadgen
command
Command loadgen drives one remora /v1 endpoint at a fixed concurrency for a fixed time and prints one line of latency, time-to-first-token and throughput figures.
|
Command loadgen drives one remora /v1 endpoint at a fixed concurrency for a fixed time and prints one line of latency, time-to-first-token and throughput figures. |
Click to show internal directories.
Click to hide internal directories.