fix: remove unused backend code
Some checks failed
BotServer CI/CD / build (push) Has been cancelled

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-04-14 17:56:56 -03:00
parent c8514eabe7
commit 21591e22dd

View file

@ -1,9 +1,4 @@
use super::ModelHandler;
use regex::Regex;
use std::sync::LazyLock;
static THINK_TAG_REGEX: LazyLock<Result<Regex, regex::Error>> =
LazyLock::new(|| Regex::new(r"(?s)<think>.*?</think>"));
pub fn strip_think_tags(content: &str) -> String {
// We want to strip <think>...</think> OR <think> until end of string (streaming)