Remove _extract_text_from_content wrapper from logging_utils

Thin wrapper only used in tests. Tests now import extract_text_from_content
directly from utils.text.

Co-authored-by: Ali Khokhar <alishahryar2@gmail.com>
This commit is contained in:
Cursor Agent 2026-02-15 01:32:04 +00:00
parent 212b2b29b2
commit f80c7ce42e
2 changed files with 8 additions and 44 deletions

View file

@ -14,11 +14,6 @@ from utils.text import extract_text_from_content
logger = logging.getLogger(__name__)
def _extract_text_from_content(content: Any) -> str:
"""Backward-compatible wrapper for tests and legacy imports."""
return extract_text_from_content(content)
def generate_request_fingerprint(messages: List[Any]) -> str:
"""Generate unique short hash for message content.