mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 07:02:44 +00:00
chore(deps): bump workspace dependencies
This commit is contained in:
@@ -230,7 +230,7 @@ describe("directive behavior", () => {
|
||||
await withTempHome(async (home) => {
|
||||
const text = await runThinkDirectiveAndGetText(home);
|
||||
expect(text).toContain("Current thinking level: high");
|
||||
expect(text).toContain("Options: off, minimal, low, medium, high.");
|
||||
expect(text).toContain("Options: off, minimal, low, medium, high, adaptive.");
|
||||
|
||||
for (const model of ["openai-codex/gpt-5.2-codex", "openai/gpt-5.2"]) {
|
||||
const texts = await runThinkingDirective(home, model);
|
||||
|
||||
@@ -66,7 +66,7 @@ async function expectThinkStatusForReasoningModel(params: {
|
||||
|
||||
const text = replyText(res);
|
||||
expect(text).toContain(`Current thinking level: ${params.expectedLevel}`);
|
||||
expect(text).toContain("Options: off, minimal, low, medium, high.");
|
||||
expect(text).toContain("Options: off, minimal, low, medium, high, adaptive.");
|
||||
}
|
||||
|
||||
function mockReasoningCapableCatalog() {
|
||||
|
||||
@@ -74,9 +74,16 @@ describe("initSessionState thread forking", () => {
|
||||
timestamp: new Date().toISOString(),
|
||||
message: { role: "user", content: "Parent prompt" },
|
||||
};
|
||||
const assistantMessage = {
|
||||
type: "message",
|
||||
id: "m2",
|
||||
parentId: "m1",
|
||||
timestamp: new Date().toISOString(),
|
||||
message: { role: "assistant", content: "Parent reply" },
|
||||
};
|
||||
await fs.writeFile(
|
||||
parentSessionFile,
|
||||
`${JSON.stringify(header)}\n${JSON.stringify(message)}\n`,
|
||||
`${JSON.stringify(header)}\n${JSON.stringify(message)}\n${JSON.stringify(assistantMessage)}\n`,
|
||||
"utf-8",
|
||||
);
|
||||
|
||||
@@ -152,9 +159,16 @@ describe("initSessionState thread forking", () => {
|
||||
timestamp: new Date().toISOString(),
|
||||
message: { role: "user", content: "Parent prompt" },
|
||||
};
|
||||
const assistantMessage = {
|
||||
type: "message",
|
||||
id: "m2",
|
||||
parentId: "m1",
|
||||
timestamp: new Date().toISOString(),
|
||||
message: { role: "assistant", content: "Parent reply" },
|
||||
};
|
||||
await fs.writeFile(
|
||||
parentSessionFile,
|
||||
`${JSON.stringify(header)}\n${JSON.stringify(message)}\n`,
|
||||
`${JSON.stringify(header)}\n${JSON.stringify(message)}\n${JSON.stringify(assistantMessage)}\n`,
|
||||
"utf-8",
|
||||
);
|
||||
|
||||
@@ -226,9 +240,16 @@ describe("initSessionState thread forking", () => {
|
||||
timestamp: new Date().toISOString(),
|
||||
message: { role: "user", content: "Parent prompt" },
|
||||
};
|
||||
const assistantMessage = {
|
||||
type: "message",
|
||||
id: "m2",
|
||||
parentId: "m1",
|
||||
timestamp: new Date().toISOString(),
|
||||
message: { role: "assistant", content: "Parent reply" },
|
||||
};
|
||||
await fs.writeFile(
|
||||
parentSessionFile,
|
||||
`${JSON.stringify(header)}\n${JSON.stringify(message)}\n`,
|
||||
`${JSON.stringify(header)}\n${JSON.stringify(message)}\n${JSON.stringify(assistantMessage)}\n`,
|
||||
"utf-8",
|
||||
);
|
||||
|
||||
@@ -288,9 +309,16 @@ describe("initSessionState thread forking", () => {
|
||||
timestamp: new Date().toISOString(),
|
||||
message: { role: "user", content: "Parent prompt" },
|
||||
};
|
||||
const assistantMessage = {
|
||||
type: "message",
|
||||
id: "m2",
|
||||
parentId: "m1",
|
||||
timestamp: new Date().toISOString(),
|
||||
message: { role: "assistant", content: "Parent reply" },
|
||||
};
|
||||
await fs.writeFile(
|
||||
parentSessionFile,
|
||||
`${JSON.stringify(header)}\n${JSON.stringify(message)}\n`,
|
||||
`${JSON.stringify(header)}\n${JSON.stringify(message)}\n${JSON.stringify(assistantMessage)}\n`,
|
||||
"utf-8",
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user