[GH-ISSUE #3570] [Other] launch --show-key does not know the config generated by setup.py #1470

Closed
opened 2026-11-04 01:51:30 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @ogerly on GitHub (Oct 21, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3570

UX finding from running the Windows setup flow end-to-end (setup.py -> serve -> launch):

  • setup.py --family coder --model IQ1_M ... writes the server config as strata-coder-iq1_m.json (contains host, api_key, max_context, ...).
  • strata launch --show-key then does NOT know that config: it does not find/resolve the setup.py-generated file, so the API key cannot be shown or copied for clients.
  • Workaround we had to use: parse the JSON ourselves to read the key.

Suggestion: make launch (and --show-key) resolve configs by the documented naming convention strata-<model>.json in the install dir, so users can do:

strata launch --show-key     -> "key for model coder-iq1_m: <key>"

without hand-reading the config. Bonus: a --copy-key or plain hint "key is stored in strata-coder-iq1_m.json" would help first-time LAN users.

Environment: Windows-nativ flow via START-HERE.bat / setup.py, serve on 0.0.0.0:8080 with generated api_key.

Strata version: 0.1.45.3 (engine built from source)

Originally created by @ogerly on GitHub (Oct 21, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/3570 UX finding from running the Windows setup flow end-to-end (setup.py -> serve -> launch): - `setup.py --family coder --model IQ1_M ...` writes the server config as `strata-coder-iq1_m.json` (contains `host`, `api_key`, `max_context`, ...). - `strata launch --show-key` then does NOT know that config: it does not find/resolve the setup.py-generated file, so the API key cannot be shown or copied for clients. - Workaround we had to use: parse the JSON ourselves to read the key. Suggestion: make `launch` (and `--show-key`) resolve configs by the documented naming convention `strata-<model>.json` in the install dir, so users can do: strata launch --show-key -> "key for model coder-iq1_m: <key>" without hand-reading the config. Bonus: a `--copy-key` or plain hint "key is stored in strata-coder-iq1_m.json" would help first-time LAN users. Environment: Windows-nativ flow via START-HERE.bat / setup.py, serve on 0.0.0.0:8080 with generated api_key. Strata version: 0.1.45.3 (engine built from source)
Author
Owner

@github-actions[bot] commented on GitHub (Oct 21, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6311408385 --> @github-actions[bot] commented on GitHub (Oct 21, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Oct 21, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6312162590 --> @github-actions[bot] commented on GitHub (Oct 21, 2026): Thanks, this follows the format now.
Author
Owner

@Niko1221 commented on GitHub (Oct 27, 2026):

Thank you. Fixed in 0.2.7: strata launch --show-key reads the key from the config setup.py wrote.

Release: https://github.com/Niko1221/Strata/releases/tag/v0.2.7

<!-- gh-comment-id:6445923247 --> @Niko1221 commented on GitHub (Oct 27, 2026): Thank you. Fixed in 0.2.7: `strata launch --show-key` reads the key from the config setup.py wrote. Release: https://github.com/Niko1221/Strata/releases/tag/v0.2.7
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#1470
No description provided.