fix: remove unused backend code
Some checks failed
BotServer CI/CD / build (push) Has been cancelled
Some checks failed
BotServer CI/CD / build (push) Has been cancelled
This commit is contained in:
parent
c8514eabe7
commit
21591e22dd
1 changed files with 0 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue