Keep a host's own-namespace rows out of name inference
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 72/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
- 领域
- data
调研方向
从 src/server/ingest/model-identity.ts 中的 inferLinks 开始,阅读 name tier 的行是如何设置键的,以及按 provider 构建 ownNamespaces 的周边代码。阅读 #740(移除了 namespace-as-upstream)和 #736(让 Fireworks 和 LLM Gateway 的 auto 共享同一个键),了解为什么 host-namespace id 目前会落到 name inference。然后为 id 的 namespace 位于其 provider 的 ownNamespaces 中的行添加 skip,并编写验收测试:已声明的 maker 列出 auto,而 openrouter/auto 必须保持未链接;当该测试通过且现有 identity 测试仍然通过时即完成。
由索引模型根据 Issue 内容生成。
描述
Problem
Since #740 an id in the host's own namespace (openrouter/auto, groq/compound) states no upstream, so it enters the name tier (inferLinks, src/server/ingest/model-identity.ts) under a generic key such as auto, free, fusion, compound. No link results today: no declared maker has such an id or alias. It becomes a wrong link if a maker lists one, or if LLM Gateway's auto gains a single non-self route. Fireworks' and LLM Gateway's auto rows already share the key from #736.
Ask
In inferLinks, skip rows whose id namespace is one of their provider's own names (ownNamespaces). They are the host's own products.
Acceptance
- A test where a declared maker lists
auto:openrouter/autostays unlinked.
- 主要语言
- TypeScript
- 星标
- 0
- 派生
- 1
- 平均合并
- 5 小时 40 分钟
- 30 天内合并 PR
- 193
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
TanStack/schemas 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 30/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 45/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 30/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 45/100
维护者通常 1 天内回复
相似的 Issue
-
[Site] Active section detection should respect scroll-margin-top可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭area/web reproduced type/bug
难度 2/5 1-3 小时 新手友好度 65/100
anomalyco/opencode#65384 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
swc-project/swc-ai-issues#1001 ·
-
check:passed streams:add
难度 1/5 1 小时以内 新手友好度 62/100
维护者通常 1 天内回复
-
fix(table): CollapseColumn uses wrong caret icon for expandable row toggle可能已有人在做 @redhat-chai-bot 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 85/100
patternfly/patternfly-react#12727 ·
维护者通常 1 天内回复
-
CLI OAuth login fails behind an authenticating proxy: GET /api/v1/user omits Proxy-Authorization未关闭
难度 1/5 1 小时以内 新手友好度 85/100
lightdash/lightdash#33086 · 1 条评论 ·
维护者通常 1 天内回复