Ctrl K
ComunidadGuías…

browser_use/agent/__init__.py

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
from typing import TYPE_CHECKING

from browser_use.agent.service import Agent
from browser_use.agent.views import AgentHistoryList

__all__ = ['Agent', 'AgentHistoryList']


if not TYPE_CHECKING:  # pyright would accept any name imported from here
	from browser_use.legacy import removed_names

	__getattr__ = removed_names(__name__)  # a 0.x name raises the removed error naming its 1.0 answer