本页面为机器翻译。阅读英文原文。

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.

来源

官方由本目录认定为官方发布者的签名身份签名。
内容摘要
sha256:a06cdcefd96312bd7b06c857c79a22ad0378cfb628e6bf388589427f7a093502
发布时间
2026-11-10T10:16:33Z
签名身份
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

签名

  • 官方application/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

此版本的引用

oci://hub.aggrega.ai/featurerecipe/helm/target-selection-litellm:1.0.0
目标
—
实现
core/target-selection:1.0.0

提供

此配方为使用方接入的确定性指针模板。

未声明 provides 模板。

Workload

未声明工作负载模板。

局部变量

未声明局部变量。

值映射

未声明值映射。

关系

与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。

使用

被使用

目录中没有任何内容依赖此实体。

FeatureRecipe 概念参考 →

Aggrega 目录 — 收录组件、功能、配方以及渲染它们的插件的开放索引。

基于共享的 Aggrega 设计系统构建。

隐私