(fix) stop using f strings with logger

This commit is contained in:
Ishaan Jaff 2024-03-25 10:47:18 -07:00
parent dad4bd58bc
commit 5d121a9f3c
6 changed files with 29 additions and 27 deletions

View file

@ -60,7 +60,7 @@ class _ENTERPRISE_LLMGuard(CustomLogger):
else:
# Make the first request to /analyze
analyze_url = f"{self.llm_guard_api_base}analyze/prompt"
verbose_proxy_logger.debug(f"Making request to: {analyze_url}")
verbose_proxy_logger.debug("Making request to: %s", analyze_url)
analyze_payload = {"prompt": text}
redacted_text = None
async with session.post(