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.
Procedência
- Digest do conteúdo
- sha256:a06cdcefd96312bd7b06c857c79a22ad0378cfb628e6bf388589427f7a093502
- Publicado
- 2026-11-10T10:16:33Z
- Identidade de assinatura
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Assinatura
- Oficialapplication/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
Referência nesta versão
oci://hub.aggrega.ai/featurerecipe/helm/target-selection-litellm:1.0.0- Destino
- —
- Implementa
- core/target-selection:1.0.0
Fornece
Modelos de ponteiros determinísticos que esta receita liga para os consumidores.
Nenhum modelo provides declarado.
Workload
Nenhum modelo de carga de trabalho declarado.
Variáveis locais
Nenhuma variável local declarada.
Mapeamento de valores
Nenhum mapeamento de valores declarado.
Relações
Arestas tipadas de e para outras entidades publicadas. Uma referência sem destino publicado é exibida como uma aresta quebrada em vez de um link.
Usa
- implementaimplementa
core/target-selection:1.0.0
Usado por
Nada no catálogo depende desta entidade.