TypeScript chat docs conflate omitted LoRA selection with explicit null
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 86/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- python, typescript
- Domain
- backend-api-design, documentation
Research direction
Read packages/sie_ts_sdk/src/types.ts at the ChatCompletionRequest.lora_adapter comment, then compare it with split_lora_selection in packages/sie_server/src/sie_server/types/lora.py and the cases in packages/sie_server/tests/core/test_lora_selection.py. Update the TypeScript comment to distinguish omission, which keeps the profile default, from explicit null, which selects the base model; done when the documentation matches that contract.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Python
- Stars
- 3.5k
- Forks
- 328
- Avg merge
- 17h 8m
- Merged PRs (30d)
- 108
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from superlinked/sie
-
LoRA source resolver rejects shared cache blobs accepted by serving-artifact validationPossibly taken @draarivpatel-ui claimed this 2 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
superlinked/sie#1001 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 15/100
superlinked/sie#1013 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
superlinked/sie#969 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
superlinked/sie#892 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
superlinked/sie#851 · 4 comments ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
reflex-dev/reflex#8026 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
apache/ponymail-foal#365 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
NousResearch/hermes-labs-plugins#116 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
gcivil-nyu-org/team-3-fall26#192 ·
Maintainers usually reply within 1 day
-
[Study plan] Study sessions can be rescheduled to any length (e.g. 72 hours) with no length checkOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gcivil-nyu-org/team-2-fall26#159 ·
Maintainers usually reply within 1 day