Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 3 additions & 13 deletions gpt_oss/tools/simple_browser/backend.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
"""
Simple backend for the simple browser tool.
"""
"""Simple backend for the simple browser tool."""

import functools
import logging
import os
from abc import abstractmethod
from typing import Callable, ParamSpec, TypeVar
from urllib.parse import quote

import chz
from aiohttp import ClientSession, ClientTimeout
from aiohttp import ClientSession
from tenacity import (
after_log,
before_sleep_log,
Expand All @@ -20,13 +16,7 @@
wait_exponential,
)

from .page_contents import (
Extract,
FetchResult,
PageContents,
get_domain,
process_html,
)
from .page_contents import PageContents, process_html

logger = logging.getLogger(__name__)

Expand Down