FeatureRecipe
period-budget-agentgateway
Realizes core/period-budget on the gateway core/gateway/agentgateway; a Release binds it in its Manifest. It emits no file: the gateway's chart Recipe, agentgateway-chart, writes the budget into the configuration, counted in the total tokens each model reply reports. Scope caller is a budget on the API key of each caller infra.callers declares, each counted apart over fixed windows of period aligned to the Unix epoch, a day starting at midnight UTC, and kept across a restart in the gateway's store, which the chart Recipe renders, with one replica. Scope gateway is a token bucket for every model request, and scope model one for each model name a request asks for, filled to limit every period from when the gateway read its configuration and kept in its memory, so a restart, or a changed configuration, fills it again. Once what was counted reaches limit, model requests are answered with HTTP 429 until the window ends or the bucket is filled; the request that reaches it is served, and a reply reporting no tokens counts nothing. It refuses usd, prompt_tokens, completion_tokens, a calendar month, scope caller with no caller declared and a limit that is not a whole number by name, and halts on a second such attachment, with nothing wired to the models socket, and on any component other than core/gateway/agentgateway. The compose realization of the gateway has no realization of it.
Köken
- İçerik özeti
- sha256:b640dc48c414d8a65ec29ce9a8c336fe8f07d29bc10c1f75db48505aa208b74c
- Yayımlanma
- 2026-11-10T10:15:47Z
- İmzalama kimliği
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
İmza
- Resmiapplication/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:ec430ab86532aaab1a26ee5fae24569045248aa130cca5f84c62c4ad41054523
Bu sürümdeki referans
oci://hub.aggrega.ai/featurerecipe/helm/period-budget-agentgateway:1.0.0- Hedef
- —
- Uygular
- core/period-budget:1.0.0
Sağlar
Bu tarifin tüketiciler için bağladığı deterministik işaretçi şablonları.
provides şablonu bildirilmemiş.
Workload
İş yükü şablonu bildirilmemiş.
Yerel değerler
Yerel değer bildirilmemiş.
Değer eşlemesi
Değer eşlemesi bildirilmemiş.
İlişkiler
Diğer yayımlanmış varlıklara giden ve onlardan gelen tipli kenarlar. Yayımlanmış bir hedefi olmayan bir başvuru, bağlantı yerine kopuk bir kenar olarak gösterilir.
Kullanır
- uygularuygular
core/period-budget:1.0.0
Kullananlar
Katalogdaki hiçbir şey bu varlığa bağımlı değildir.