mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
chore: ran linting
This commit is contained in:
parent
74826b3714
commit
04691d572b
61 changed files with 1962 additions and 1516 deletions
|
|
@ -1076,7 +1076,11 @@ async def _stream_agent_events(
|
|||
},
|
||||
)
|
||||
elif tool_name == "web_search":
|
||||
xml = tool_output.get("result", str(tool_output)) if isinstance(tool_output, dict) else str(tool_output)
|
||||
xml = (
|
||||
tool_output.get("result", str(tool_output))
|
||||
if isinstance(tool_output, dict)
|
||||
else str(tool_output)
|
||||
)
|
||||
citations: dict[str, dict[str, str]] = {}
|
||||
for m in re.finditer(
|
||||
r"<title><!\[CDATA\[(.*?)\]\]></title>\s*<url><!\[CDATA\[(.*?)\]\]></url>",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue