[GH-ISSUE #32] bug: remove deprecated --lm-backend and --lm-model arguments from acestep.ts #28

Open
opened 2026-02-26 21:30:53 +03:00 by kerem · 0 comments
Owner

Originally created by @Basthet on GitHub (Feb 6, 2026).
Original GitHub issue: https://github.com/fspecii/ace-step-ui/issues/32

The simple_generate.py script fails when the ACE-Step API is unavailable because the calling TypeScript code in acestep.ts passes deprecated arguments
(--lm-backend and --lm-model) that are no longer recognized.

--- a/server/src/services/acestep.ts
+++ b/server/src/services/acestep.ts
@@ -676,8 +676,6 @@ async function processGeneration(
     if (params.lmTopK !== undefined && params.lmTopK > 0) args.push('--lm-top-k', String(params.lmTopK));
     if (params.lmTopP !== undefined) args.push('--lm-top-p', String(params.lmTopP));
     if (params.lmNegativePrompt) args.push('--lm-negative-prompt', params.lmNegativePrompt);
-    if (params.lmBackend) args.push('--lm-backend', params.lmBackend);
-    if (params.lmModel) args.push('--lm-model', params.lmModel);
     if (params.useCotMetas === false) args.push('--no-cot-metas');
     if (params.useCotCaption === false) args.push('--no-cot-caption');
     if (params.useCotLanguage === false) args.push('--no-cot-language');

note: this only applies if no acestep-api is started upfront.
If only the ace-step-ui is startet the error is shown and this fix suppresses it.

Originally created by @Basthet on GitHub (Feb 6, 2026). Original GitHub issue: https://github.com/fspecii/ace-step-ui/issues/32 The simple_generate.py script fails when the ACE-Step API is unavailable because the calling TypeScript code in acestep.ts passes deprecated arguments (--lm-backend and --lm-model) that are no longer recognized. ``` --- a/server/src/services/acestep.ts +++ b/server/src/services/acestep.ts @@ -676,8 +676,6 @@ async function processGeneration( if (params.lmTopK !== undefined && params.lmTopK > 0) args.push('--lm-top-k', String(params.lmTopK)); if (params.lmTopP !== undefined) args.push('--lm-top-p', String(params.lmTopP)); if (params.lmNegativePrompt) args.push('--lm-negative-prompt', params.lmNegativePrompt); - if (params.lmBackend) args.push('--lm-backend', params.lmBackend); - if (params.lmModel) args.push('--lm-model', params.lmModel); if (params.useCotMetas === false) args.push('--no-cot-metas'); if (params.useCotCaption === false) args.push('--no-cot-caption'); if (params.useCotLanguage === false) args.push('--no-cot-language'); ``` note: this only applies if no acestep-api is started upfront. If only the ace-step-ui is startet the error is shown and this fix suppresses it.
Sign in to join this conversation.
No labels
pull-request
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
starred/ace-step-ui#28
No description provided.