FeatureRecipe
target-selection-litellm
Realizes core/target-selection on the AI gateway core/gateway/litellm; a Release binds it in its Manifest. It writes the proxy's routing strategy into the configuration the gateway's own Recipe renders, and emits no file. The choice applies only among entries of the gateway's model map that publish the same alias. A model wired to the models socket is served under its connection's own alias, which no other entry may publish, so the entries that share an alias are the ones typed into values.models. With no attachment the proxy picks among them at random. Strategy latency is written as latency-based-routing: the proxy sends a request to the entry whose last ten replies took the least time on average, per output token where a reply reports its tokens, or to its first token for a streamed request, and an entry not yet tried counts as quickest. Strategy cost is refused by name. The proxy looks an entry's target up, as written, in a price table that names OpenAI's and Anthropic's models without the provider prefix a target carries, and prices an entry it does not find at a fixed fallback, so the entries sharing an alias cost alike and the first is taken. The build also halts when the attachment is carried by any component other than core/gateway/litellm.
Asal-usul
- Digest konten
- sha256:a06cdcefd96312bd7b06c857c79a22ad0378cfb628e6bf388589427f7a093502
- Dipublikasikan
- 2026-11-10T10:16:33Z
- Identitas penandatangan
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Tanda tangan
- 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:907917cff8fc6f1b210b3809486aaf7ae4c1f6746b8ec0c5887f9cd26571b42f
Referensi pada versi ini
oci://hub.aggrega.ai/featurerecipe/helm/target-selection-litellm:1.0.0- Target
- —
- Mengimplementasikan
- core/target-selection:1.0.0
Menyediakan
Templat pointer deterministik yang dihubungkan resep ini untuk konsumen.
Tidak ada templat provides yang dideklarasikan.
Workload
Tidak ada templat beban kerja yang dideklarasikan.
Nilai lokal
Tidak ada nilai lokal yang dideklarasikan.
Pemetaan values
Tidak ada pemetaan values yang dideklarasikan.
Relasi
Sisi bertipe ke dan dari entitas lain yang dipublikasikan. Referensi tanpa target yang dipublikasikan ditampilkan sebagai sisi yang terputus, bukan sebagai tautan.
Menggunakan
- mengimplementasikanmengimplementasikan
core/target-selection:1.0.0
Digunakan oleh
Tidak ada apa pun di katalog yang bergantung pada entitas ini.