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.
Pochodzenie
- Skrót zawartości
- sha256:a06cdcefd96312bd7b06c857c79a22ad0378cfb628e6bf388589427f7a093502
- Opublikowano
- 2026-11-10T10:16:33Z
- Tożsamość podpisująca
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Podpis
- Oficjalnyapplication/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
Referencja w tej wersji
oci://hub.aggrega.ai/featurerecipe/helm/target-selection-litellm:1.0.0- Cel
- —
- Implementuje
- core/target-selection:1.0.0
Udostępnia
Deterministyczne szablony wskaźników, które ta receptura podłącza dla konsumentów.
Nie zadeklarowano szablonów provides.
Workload
Nie zadeklarowano szablonu obciążenia roboczego.
Zmienne lokalne
Nie zadeklarowano zmiennych lokalnych.
Mapowanie wartości
Nie zadeklarowano mapowania wartości.
Relacje
Typowane krawędzie do innych opublikowanych encji i od nich. Odwołanie bez opublikowanego celu jest renderowane jako przerwana krawędź, a nie jako łącze.
Używa
- implementujeimplementuje
core/target-selection:1.0.0
Używane przez
Nic w katalogu nie zależy od tej encji.