Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

Commit 9be4d08

Browse files
committed
Fix infinite loop in conversation trimming
1 parent 4a8c567 commit 9be4d08

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

server/bleep/src/webserver/answer.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1132,7 +1132,6 @@ impl Conversation {
11321132
*content = "[HIDDEN]".into();
11331133
true
11341134
}
1135-
llm_gateway::api::Message::FunctionCall { .. } => true, // Don't trim function calls
11361135
_ => false,
11371136
})
11381137
.ok_or_else(|| anyhow!("could not find message to trim"))?;

0 commit comments

Comments
 (0)