mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-23 22:34:53 +00:00
tweak: add test and cleanup file
This commit is contained in:
@@ -3,15 +3,6 @@
|
||||
"provider": {
|
||||
"opencode": {
|
||||
"options": {},
|
||||
"models": {
|
||||
"claude-opus-4-6": {
|
||||
"limit": {
|
||||
"context": 20000,
|
||||
"input": 20000,
|
||||
"output": 1000,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
"github-copilot": {
|
||||
"models": {
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user