TypeScript chat docs conflate omitted LoRA selection with explicit null
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 86/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- python, typescript
调研方向
阅读 packages/sie_ts_sdk/src/types.ts 中 ChatCompletionRequest.lora_adapter 的注释,然后将其与 packages/sie_server/src/sie_server/types/lora.py 中的 split_lora_selection 以及 packages/sie_server/tests/core/test_lora_selection.py 中的用例进行比较。更新 TypeScript 注释,说明省略该字段会保留配置的默认值,而显式指定 null 会选择基础模型;文档符合这一约定时即完成。
由索引模型根据 Issue 内容生成。
描述
Hullo folks,
I'm doing some research for Tessl Code Review and we ran it against your repo. It flagged a potential issue, and I figured it made sense to share it with you:
The ChatCompletionRequest.lora_adapter comment says both omission and explicit null select the base model. The server selector contract distinguishes them: omission keeps the profile default, while null explicitly requests base. A caller following the TypeScript documentation can therefore request a different model configuration than intended.
Steps to reproduce
- Use a profile with a default adapter.
- Compare the documented meaning of a chat request without
lora_adapterwith one containinglora_adapter: null. split_lora_selectionmarks the first as not provided and the second as provided. Its contract explicitly preserves the default in the first case.
Expected behavior
Document omission as retaining the profile default, and explicit null as choosing base. Keep the existing distinction on the wire.
Source and validation
Checked current main at 4bd28e369334e6e38a8371dc9d322f332554b9f2.
- packages/sie_ts_sdk/src/types.ts
- packages/sie_server/src/sie_server/types/lora.py
- packages/sie_server/tests/core/test_lora_selection.py
Source inspection only: I compared the current TypeScript declaration with the selector implementation and its existing absence-versus-null test. I did not run a gateway or model inference, and am reporting the public documentation mismatch.
Full transparency: I work at Tessl, and we've spotted that using Tessl Code Review - using repository-level context and specific review lenses that improve over time through feedback. That’s how this finding surfaced.
We’re just getting started and want to offer the tool free to open-source projects. If this is useful, happy to give you access.
Baptiste
- 主要语言
- Python
- 星标
- 3.5k
- 派生
- 328
- 平均合并
- 17 小时 8 分钟
- 30 天内合并 PR
- 108
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
superlinked/sie 的其他 Issue
-
LoRA source resolver rejects shared cache blobs accepted by serving-artifact validation可能已有人在做 @draarivpatel-ui 于 2 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
superlinked/sie#1001 ·
维护者通常 1 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 15/100
superlinked/sie#1013 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 42/100
superlinked/sie#969 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
superlinked/sie#892 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 25/100
superlinked/sie#851 · 4 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 78/100
reflex-dev/reflex#8026 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
apache/ponymail-foal#365 ·
-
难度 2/5 1-3 小时 新手友好度 79/100
NousResearch/hermes-labs-plugins#116 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
gcivil-nyu-org/team-3-fall26#192 ·
维护者通常 1 天内回复
-
[Study plan] Study sessions can be rescheduled to any length (e.g. 72 hours) with no length check未关闭
难度 2/5 1-3 小时 新手友好度 78/100
gcivil-nyu-org/team-2-fall26#159 ·
维护者通常 1 天内回复