Update BrowserUseAgent to browser-use 0.13.8 - #2489
Open
MagMueller wants to merge 1 commit into
Open
Conversation
Dependency Review✅ No vulnerabilities or license issues found.Scanned Files
|
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the BrowserUseAgent example to work with browser-use==0.13.8, switching to Browser Use’s native ChatOpenAI adapter and aligning container dependencies for compatibility.
Changes:
- Bump
browser-usedependency from0.3.2to0.13.8. - Update the agent to import/use
browser_use.llm.ChatOpenAIand remove the retiredenable_memoryoption. - Pin
posthog==7.7.0in the Docker image build for dependency compatibility.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| BrowserUseAgent/requirements.txt | Updates browser-use version pin to 0.13.8. |
| BrowserUseAgent/Dockerfile | Updates container install to pin posthog==7.7.0. |
| BrowserUseAgent/browser_use_agent.py | Migrates LLM adapter import/initialization and removes deprecated agent option. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
20
to
+24
| def initiate_llm_and_browser(llm_endpoint: str, model: str, secret_key: str = "sk-xxxxxx"): | ||
| # Initialize global LLM and BrowserProfile if not already initialized | ||
| global LLM, BROWSER_PROFILE | ||
| if not LLM: | ||
| LLM = ChatOpenAI(base_url=f"{llm_endpoint}/v1", model=model, api_key=SecretStr(secret_key), temperature=0.1) | ||
| LLM = ChatOpenAI(base_url=f"{llm_endpoint}/v1", model=model, api_key=secret_key, temperature=0.1) |
Comment on lines
14
to
+18
| RUN uv pip install --system --upgrade pip setuptools uv && \ | ||
| $uvpip pytest-playwright && \ | ||
| playwright install chromium --with-deps --no-shell && \ | ||
| $uvpip -r requirements.txt && \ | ||
| $uvpip posthog==5.4.0 | ||
| $uvpip posthog==7.7.0 |
Signed-off-by: MagMueller <mamagnus00@gmail.com>
MagMueller
force-pushed
the
update-browser-use-0.13.8
branch
from
August 28, 2026 10:30
d23243d to
2156e76
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Verification