mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4048] [Engine] Defaults per model alias (alias_sampling) #1752
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1752
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @furkangkhsn on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4048
Area
Engine
What do you want to do?
One loaded model that answers two ways depending on the model name, without a restart. My case: the engine runs with a refusal-direction control vector (
--control-vector-scaled ... --cvec-mode project) and"sampling": {"experimental_speed_projection": false}. Clients should choose per request:qwengets the plain model,qwen-uncensoredgets the vector. Most clients, including the agent harness I use, can change the model name but cannot add a custom field likeexperimental_speed_projection.Proposal, opt-in:
modelis that alias gets those settings where it does not set them itself, and the alias is listed as a model name.clean_shared_defaults):reasoning_effort,temperature,top_p,top_k,seed,max_tokens,reasoning_budget_tokens,experimental_speed_projection.samplingandreasoning_effort.max_completion_tokensformax_tokens;reasoning,chat_template_kwargsor Anthropicthinking/output_configfor the effort;thinking_budget_tokensor Anthropicthinking.budget_tokensfor the budget.Service.with_shared: OpenAI chat and Anthropic messages), not/v1/responses.The branch is ready (
parse_alias_samplingand a few lines inwith_shared, with tests). I'm opening it as a draft PR.What do you do today instead?
A local patch of
serve/server.py, re-applied after every update, or two servers with two run configs (twice the memory).@Niko1221 commented on GitHub (Nov 5, 2026):
Thanks for taking the time to report this.
Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.