Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
polypus
command
|
|
|
polypus-smoke
command
polypus-smoke: multi-channel L1 probes against a Polypus gateway.
|
polypus-smoke: multi-channel L1 probes against a Polypus gateway. |
|
internal
|
|
|
batch/service
Package service runs OpenAI-shaped batches on the providers that support them (Anthropic Message Batches, OpenRouter's Batch API, Workers AI async batch).
|
Package service runs OpenAI-shaped batches on the providers that support them (Anthropic Message Batches, OpenRouter's Batch API, Workers AI async batch). |
|
clients/catalog
Package catalog holds what the provider model-catalog clients share: the OpenAI Models API shapes, a TTL cache, a strict list with stale-cache fallback, and a process-scoped client registry.
|
Package catalog holds what the provider model-catalog clients share: the OpenAI Models API shapes, a TTL cache, a strict list with stale-cache fallback, and a process-scoped client registry. |
|
clients/openaicompat
Package openaicompat lists models from, and pings, OpenAI-compatible backends: local servers, hosted APIs such as DeepInfra, OpenRouter's models API and Switchyard.
|
Package openaicompat lists models from, and pings, OpenAI-compatible backends: local servers, hosted APIs such as DeepInfra, OpenRouter's models API and Switchyard. |
|
clients/openrouter
Package openrouter is the OpenRouter Batch API client.
|
Package openrouter is the OpenRouter Batch API client. |
|
config
Package config holds Polypus gateway defaults and runtime options.
|
Package config holds Polypus gateway defaults and runtime options. |
|
errors
Package errors defines typed domain errors for Polypus.
|
Package errors defines typed domain errors for Polypus. |
|
gateway/upstream
Package upstream provides per-target circuit breakers for Polypus dials (Switchyard, OpenAI-shaped leaves, Cloudflare).
|
Package upstream provides per-target circuit breakers for Polypus dials (Switchyard, OpenAI-shaped leaves, Cloudflare). |
|
ratelimit
Package ratelimit is the provider-neutral shape of an upstream rate limit.
|
Package ratelimit is the provider-neutral shape of an upstream rate limit. |
|
smoke
Package smoke runs multi-channel L1 probes against a Polypus gateway.
|
Package smoke runs multi-channel L1 probes against a Polypus gateway. |
|
pkg
|
|
|
polypus
Package polypus is the public product façade for the Polypus inference gateway.
|
Package polypus is the public product façade for the Polypus inference gateway. |
Click to show internal directories.
Click to hide internal directories.