diff --git a/letta/functions/function_sets/builtin.py b/letta/functions/function_sets/builtin.py index e067988d..9702c85d 100644 --- a/letta/functions/function_sets/builtin.py +++ b/letta/functions/function_sets/builtin.py @@ -67,7 +67,7 @@ async def web_search( async def fetch_webpage(url: str) -> str: """ - Fetch a webpage and convert it to markdown/text format using Jina AI reader. + Fetch a webpage and convert it to markdown/text format using Exa API (if available) or trafilatura/readability. Args: url: The URL of the webpage to fetch and convert diff --git a/letta/services/tool_executor/builtin_tool_executor.py b/letta/services/tool_executor/builtin_tool_executor.py index 97029316..b2ae6bb8 100644 --- a/letta/services/tool_executor/builtin_tool_executor.py +++ b/letta/services/tool_executor/builtin_tool_executor.py @@ -311,7 +311,7 @@ class LettaBuiltinToolExecutor(ToolExecutor): async def fetch_webpage(self, agent_state: "AgentState", url: str) -> str: """ - Fetch a webpage and convert it to markdown/text format using trafilatura with readability fallback. + Fetch a webpage and convert it to markdown/text format using Exa API (if available) or trafilatura/readability. Args: url: The URL of the webpage to fetch and convert