Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
Fix #1747: use model_validate for MemoryConfig re-validation under Pydantic v2
manglesh-nimbalkar-apptware03cbb832e2a0
diff --git a/browser_use/agent/memory/service.py b/browser_use/agent/memory/service.pyindex 082ec1202..4ac628b7f 100644--- a/browser_use/agent/memory/service.py+++ b/browser_use/agent/memory/service.py@@ -57,7 +57,7 @@ class Memory:self.config.embedder_dims = 512else:# Ensure LLM instance is set in the config- self.config = MemoryConfig(**dict(config)) # re-validate untrusted user-provided config+ self.config = MemoryConfig.model_validate(config) # Validate using the Pydantic v2self.config.llm_instance = llm# Check for required packages