mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-10 05:03:15 +08:00
fix: honor Harness default agent preset for IM sessions
This commit is contained in:
parent
26558e5e71
commit
8a64f2bc8c
15 changed files with 109 additions and 34 deletions
|
|
@ -69,7 +69,7 @@ export async function createTokenProductionController(ctx, config, internals, de
|
|||
const harness = new ResolvedHarness({
|
||||
baseUrl: harnessOrigin(ctx.webServer, config.harnessBaseUrl),
|
||||
workspace: defaultWorkspace,
|
||||
agentPreset: config.agentPreset ?? 'standard',
|
||||
...(config.agentPreset == null ? {} : { agentPreset: config.agentPreset }),
|
||||
autostart: false,
|
||||
dshBin: config.dshBin ?? 'dsh',
|
||||
...(commandExecutor ? { commandExecutor } : {}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue