tweak: add test and cleanup file

This commit is contained in:
Aiden Cline
2026-04-15 00:31:10 -05:00
parent 948ed7239b
commit fd9f340f6f
2 changed files with 1 additions and 9 deletions

View File

@@ -3,15 +3,6 @@
"provider": {
"opencode": {
"options": {},
"models": {
"claude-opus-4-6": {
"limit": {
"context": 20000,
"input": 20000,
"output": 1000,
},
},
},
},
"github-copilot": {
"models": {

View File

@@ -843,6 +843,7 @@ describe("session.compaction.process", () => {
expect(last?.parts[0]).toMatchObject({
type: "text",
synthetic: true,
metadata: { compaction_continue: true },
})
if (last?.parts[0]?.type === "text") {
expect(last.parts[0].text).toContain("Continue if you have next steps")