fix(headless): compose the one-shot agent from the preset roster again
The agent-default-model refactor moved the headless runner off the api-proxy create path onto a direct agents.create, which silently dropped the preset composition the stack had put on every dsh run session: the header lost its agentPreset and the agent ran on the host composition alone. Resolve the default preset up front (optional service — a roster- less composition keeps the pre-preset behavior), record it on the header, and mount it in setup where a broken composition still fails the run.
This commit is contained in:
3
pnpm-lock.yaml
generated
3
pnpm-lock.yaml
generated
@@ -1342,6 +1342,9 @@ importers:
|
||||
'@deepseek-ai/dsh-agent-default-model':
|
||||
specifier: workspace:^
|
||||
version: link:../../core/agent-default-model
|
||||
'@deepseek-ai/dsh-agent-presets':
|
||||
specifier: workspace:^
|
||||
version: link:../../preset/agent-presets
|
||||
'@deepseek-ai/dsh-invariants':
|
||||
specifier: workspace:^
|
||||
version: link:../../support/invariants
|
||||
|
||||
Reference in New Issue
Block a user