Skip to content

Commit cbbf60a

Browse files
committed
chore: remove unused variant variable from inject.ts
1 parent 1a3b7f3 commit cbbf60a

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

lib/messages/inject.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ export const insertPruneToolContext = (
182182
}
183183

184184
const userInfo = lastUserMessage.info as UserMessage
185-
const variant = state.variant ?? userInfo.variant
186185

187186
const lastNonIgnoredMessage = messages.findLast(
188187
(msg) => !(msg.info.role === "user" && isIgnoredUserMessage(msg)),

0 commit comments

Comments
 (0)