mirror of
https://github.com/GH05TCREW/pentestagent.git
synced 2026-03-08 06:44:11 +00:00
style: apply ruff fixes
This commit is contained in:
@@ -20,7 +20,7 @@ from textual.containers import (
|
||||
Vertical,
|
||||
)
|
||||
from textual.reactive import reactive
|
||||
from textual.screen import ModalScreen, Screen
|
||||
from textual.screen import ModalScreen
|
||||
from textual.scrollbar import ScrollBar, ScrollBarRender
|
||||
from textual.timer import Timer
|
||||
from textual.widgets import Button, Input, Static, Tree
|
||||
|
||||
@@ -76,7 +76,7 @@ async def web_search(arguments: dict, runtime: "Runtime") -> str:
|
||||
def _format_results(query: str, data: dict) -> str:
|
||||
"""
|
||||
Format Tavily results for LLM consumption.
|
||||
|
||||
|
||||
Returns a lean format with summary + titles + URLs only.
|
||||
Content snippets are excluded to prevent LLM from regurgitating
|
||||
noisy web scrapes in its response.
|
||||
|
||||
Reference in New Issue
Block a user