fix: update the logic to update thinking in cli tools page

This commit is contained in:
2026-07-20 10:14:02 +07:00
parent 5329a4bd67
commit cb0807fe74
5 changed files with 170 additions and 97 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ describe("permanent model deletion", () => {
});
expect((await db.getCliToolConfig(cliUser.id, "cowork")).config).toMatchObject({
selectedModels: [`${providerPrefix}/gpt-keep`],
coworkThinking: { [`${providerPrefix}/gpt-keep`]: "low" },
coworkModelSettings: [{ thinking: "low" }],
});
const history = await db.getUsageHistory({});