Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

Update utilities.py

LearningCircuitdb2b25cc53df
diff --git a/utilities.py b/utilities.py
index f36014cab8..d08dc960b8 100644
--- a/utilities.py
+++ b/utilities.py
@@ -1,3 +1,9 @@
+import re
+def remove_think_tags(text: str) -> str:
+ print(text)
+ return re.sub(r'<think>.*?</think>', '', text, flags=re.DOTALL).strip()
+
+
def extract_links_from_search_results(search_results_str: str) -> list:
"""Extract links and titles from search results string"""
@@ -80,4 +86,4 @@ def format_findings_to_text(findings_list, current_knowledge, questions_by_itera
seen_urls.add(link['url'])
formatted_text += "\n" + "=" * 80 + "\n"
- return formatted_text
\ No newline at end of file
+ return formatted_text