Skip to content

feat(browser): pass profile_id to Browser Use API for session persistence - #6585

Closed
el-analista wants to merge 1 commit into
NousResearch:mainfrom
el-analista:fix/browser-use-profile-id
Closed

el-analista wants to merge 1 commit into
NousResearch:mainfrom
el-analista:fix/browser-use-profile-id

Conversation

@el-analista

Copy link
Copy Markdown
Contributor

Summary

  • Read browser_use.profile_id from config.yaml (or BROWSER_USE_PROFILE_ID env var) and include it in the /browsers create payload
  • Enables persistent sessions with stored cookies/login state via Browser Use cloud profiles
  • Works for both direct API key and managed Nous gateway modes

Context

The browser.browser_use.profile_id config key was already accepted by hermes setup tools but never actually read by BrowserUseProvider. This wires it through so session persistence works as expected.

Test plan

  • Set browser.browser_use.profile_id in config.yaml, verify it appears in the /browsers POST payload
  • Set BROWSER_USE_PROFILE_ID env var, verify env var takes precedence
  • Verify sessions without profile_id still work (ephemeral)

…ence

Read browser_use.profile_id from config.yaml (or BROWSER_USE_PROFILE_ID
env var) and include it in the /browsers create payload. This enables
persistent sessions with stored cookies/login state via Browser Use
cloud profiles.
@el-analista

Copy link
Copy Markdown
Contributor Author

This will allow to use browser-use profile feature where you can log in pages so that when agent uses the profile id session persists

@el-analista

Copy link
Copy Markdown
Contributor Author

Closing — superseded by #4419 which implements persistent browser sessions via managed_persistence + stable userId.

@alt-glitch alt-glitch added type/feature New feature or request P3 Low — cosmetic, nice to have tool/browser Browser automation (CDP, Playwright) labels Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low — cosmetic, nice to have tool/browser Browser automation (CDP, Playwright) type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants