Skip to content

Commit ed7e66f

Browse files
committed
use real nudge prompt
1 parent 38dc7f4 commit ed7e66f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/messages/inject/inject.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ import {
1111
messageHasCompress,
1212
persistAnchors,
1313
} from "./utils"
14+
import { renderNudge } from "../../prompts"
1415

15-
const CONTEXT_LIMIT_HINT_TEXT = "your context exceeds the context limit, you must compress"
16+
const CONTEXT_LIMIT_HINT_TEXT = renderNudge("context-limit")
1617

1718
export const insertCompressToolContext = (
1819
state: SessionState,

0 commit comments

Comments
 (0)