File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222from autosearch .core .loop_state import init_loop as _ls_init
2323from autosearch .core .loop_state import update_loop as _ls_update
2424from autosearch .core .models import ClarifyRequest , SearchMode , SubQuery
25- from autosearch .core .redact import redact_signed_url
25+ from autosearch .core .redact import redact , redact_signed_url
2626from autosearch .core .search_scope import SearchScope , depth_to_mode
2727from autosearch .llm .client import LLMClient
2828
@@ -431,7 +431,7 @@ async def research(
431431 result = await factory ().run (query , mode_hint = mode_hint , scope = scope )
432432 except Exception as exc :
433433 return ResearchResponse (
434- content = f"[error] { exc } " ,
434+ content = redact ( f"[error] { exc } " ) ,
435435 channel_empty_calls = {},
436436 routing_trace = {},
437437 delivery_status = "error" ,
You can’t perform that action at this time.
0 commit comments