Trang này được dịch bằng máy. Đọc bản gốc tiếng Anh.

FeatureRecipe

period-budget-litellm

Realizes core/period-budget on the AI gateway core/gateway/litellm; a Release binds it in its Manifest. It writes the gateway's own budget setting into the configuration the gateway's Recipe renders, and emits no file. The gateway counts what its traffic cost in US dollars, priced from the cost table it keeps per model, and starts the count again at the start of every period: a number of days from midnight UTC, 7d from a Monday, 1mo from the first of the month. Once the count exceeds limit it refuses every further model request, its administrator's own among them, until the next period starts, which it notices within about ten minutes. It reads that count again at most once a minute, so the traffic of that minute can take it past limit before the first refusal. So it honours unit usd, scope gateway and a period of whole days other than 30d, or 1mo, and refuses any other unit, scope or period by name. The gateway keeps the count in its bookkeeping database and checks a budget only for callers it authenticates, so the build halts unless its database_url and api_key credential slots are both attached. It halts when the attachment is carried by any component other than core/gateway/litellm.

Nguồn gốc

Chính thứcĐược ký bởi một danh tính ký mà danh mục này công nhận là nhà phát hành chính thức.
Digest nội dung
sha256:647c61b16e602cf0af05d4c9b676a84115def95767d67236ae38a0ae5dfde816
Đã xuất bản
2026-11-10T10:15:51Z
Danh tính ký
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Chữ ký

  • Chính thứcapplication/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:338573e31a6c651292d3fcf748b39ebc2c874284d4322794c8f3aa636fc36f7f

Tham chiếu ở phiên bản này

oci://hub.aggrega.ai/featurerecipe/helm/period-budget-litellm:1.0.0
Đích
—
Triển khai
core/period-budget:1.0.0

Cung cấp

Các mẫu con trỏ xác định mà công thức này nối cho bên tiêu thụ.

Chưa khai báo mẫu provides nào.

Workload

Chưa khai báo mẫu khối lượng công việc nào.

Giá trị cục bộ

Chưa khai báo giá trị cục bộ nào.

Ánh xạ values

Chưa khai báo ánh xạ values nào.

Quan hệ

Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.

Sử dụng

Được sử dụng bởi

Không có gì trong danh mục phụ thuộc vào thực thể này.

Tài liệu tham khảo khái niệm FeatureRecipe →

Danh mục Aggrega — chỉ mục mở gồm các thành phần, tính năng, công thức và các plugin kết xuất chúng.

Được xây dựng bằng hệ thống thiết kế dùng chung của Aggrega.

Quyền riêng tư