fix: add subagent default model typing

This commit is contained in:
Peter Steinberger
2026-01-12 18:18:03 +00:00
parent 0a2dcd844b
commit b88ea39b83
3 changed files with 6 additions and 12 deletions

View File

@@ -703,9 +703,7 @@ describe("runEmbeddedPiAgent", () => {
).resolves.toBeTruthy();
});
it(
"persists the first user message before assistant output",
async () => {
it("persists the first user message before assistant output", async () => {
const agentDir = await fs.mkdtemp(
path.join(os.tmpdir(), "clawdbot-agent-"),
);
@@ -743,9 +741,7 @@ describe("runEmbeddedPiAgent", () => {
if (firstAssistantIndex !== -1) {
expect(firstUserIndex).toBeLessThan(firstAssistantIndex);
}
},
15_000,
);
}, 15_000);
it("persists the user message when prompt fails before assistant output", async () => {
const agentDir = await fs.mkdtemp(