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.
Provenance
- Empreinte du contenu
- sha256:a06cdcefd96312bd7b06c857c79a22ad0378cfb628e6bf388589427f7a093502
- Publié
- 2026-11-10T10:16:33Z
- Identité de signature
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Signature
- Officielapplication/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
Référence à cette version
oci://hub.aggrega.ai/featurerecipe/helm/target-selection-litellm:1.0.0- Cible
- —
- Implémente
- core/target-selection:1.0.0
Fournit
Modèles de pointeurs déterministes que cette recette câble pour les consommateurs.
Aucun modèle provides déclaré.
Workload
Aucun modèle de charge de travail déclaré.
Variables locales
Aucune variable locale déclarée.
Correspondance des valeurs
Aucune correspondance des valeurs déclarée.
Relations
Arêtes typées vers et depuis d’autres entités publiées. Une référence sans cible publiée s’affiche comme une arête rompue plutôt que comme un lien.
Utilise
- implémenteimplémente
core/target-selection:1.0.0
Utilisé par
Rien dans le catalogue ne dépend de cette entité.