Skip to content

Commit 1960877

Browse files
committed
cleanup
1 parent fa47430 commit 1960877

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/messages/prune.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,6 @@ const SYNTHETIC_MESSAGE_ID = "msg_01234567890123456789012345"
5050
const SYNTHETIC_PART_ID = "prt_01234567890123456789012345"
5151
const SYNTHETIC_USER_MESSAGE_ID = "msg_01234567890123456789012346"
5252
const SYNTHETIC_USER_PART_ID = "prt_01234567890123456789012346"
53-
54-
// Content for the synthetic user message appended after the assistant message for reasoning models.
55-
// This is required because reasoning models expect their reasoning parts in assistant messages,
56-
// and we cannot generate those encrypted/proprietary parts. By closing the assistant turn with
57-
// a user message, the model sees a complete conversation structure.
5853
const REASONING_MODEL_USER_MESSAGE_CONTENT = "<system-context-injection/>"
5954

6055
const buildPrunableToolsList = (

0 commit comments

Comments
 (0)