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.

refactor: Remove unused _normalize_base_url() function

LearningCircuit8e7c937b91b9
diff --git a/src/local_deep_research/notifications/url_builder.py b/src/local_deep_research/notifications/url_builder.py
index 307db41b08..f6dc225f20 100644
--- a/src/local_deep_research/notifications/url_builder.py
+++ b/src/local_deep_research/notifications/url_builder.py
@@ -25,22 +25,6 @@ class URLValidationError(ValueError):
pass
-def _normalize_base_url(base_url: str) -> str:
- """
- Normalize a base URL by removing trailing slashes.
-
- This is a small helper to consistently handle base URLs
- throughout the notification system.
-
- Args:
- base_url: Base URL to normalize
-
- Returns:
- Base URL without trailing slash
- """
- return base_url.rstrip("/")
-
-
def validate_url(url: str) -> bool:
"""
Validate that a notification callback URL is well-formed and safe.