Skip to content

Commit b574f2b

Browse files
committed
Implement context overflow compaction logic in session loop
1 parent 340cd5c commit b574f2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/opencode/src/session/prompt.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ import { spawn } from "child_process"
3333
import { Command } from "../command"
3434
import { $, fileURLToPath } from "bun"
3535
import { ConfigMarkdown } from "../config/markdown"
36+
import { Config } from "../config/config"
3637
import { SessionSummary } from "./summary"
3738
import { NamedError } from "@opencode-ai/util/error"
3839
import { fn } from "@/util/fn"

0 commit comments

Comments
 (0)