mirror of
https://github.com/browser-use/browser-use
synced 2026-05-06 17:52:15 +02:00
Added a type check to ensure the llm argument is an instance of BaseChatModel in Agent's constructor, raising a ValueError otherwise. Also marked BaseChatModel as @runtime_checkable to support isinstance checks.