diff --git a/studio/backend/core/inference/llama_cpp.py b/studio/backend/core/inference/llama_cpp.py index 746ab26abb..b3ed3124db 100644 --- a/studio/backend/core/inference/llama_cpp.py +++ b/studio/backend/core/inference/llama_cpp.py @@ -1725,8 +1725,12 @@ class LlamaCppBackend: text = pat.sub("", text) return text.strip() if final else text - # XML prefixes that signal a tool call in content - _TOOL_XML_SIGNALS = ("", "", "