This commit is contained in:
Timothy Jaeryang Baek
2026-06-29 00:42:39 -05:00
parent bc70696f4f
commit 7292cee868
2 changed files with 2 additions and 2 deletions

View File

@@ -2074,7 +2074,7 @@ async def process_web(
):
config = await get_retrieval_config()
try:
content, docs = await run_in_threadpool(get_content_from_url, request, form_data.url)
content, docs = await get_content_from_url(request, form_data.url)
log.debug(f'text_content: {content}')
if process:

View File

@@ -264,7 +264,7 @@ async def fetch_url(
return json.dumps({'error': 'Request context not available'})
try:
content, _ = await asyncio.to_thread(get_content_from_url, __request__, url)
content, _ = await get_content_from_url(__request__, url)
# Truncate if configured (WEB_FETCH_MAX_CONTENT_LENGTH)
# Guard: content may be None if the web loader silently failed