Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
hermes-node-agent
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lisa
hermes-node-agent
Commits
b8c862e4
Commit
b8c862e4
authored
May 13, 2026
by
Lisa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: register browser/computer capabilities after controller init
parent
9f498292
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
install.sh
install.sh
+1
-1
hermes_node_agent.py
package-hermes-node-agent/hermes_node_agent.py
+2
-2
No files found.
install.sh
View file @
b8c862e4
package-hermes-node-agent/hermes_node_agent.py
View file @
b8c862e4
...
@@ -544,14 +544,14 @@ class NodeAgent:
...
@@ -544,14 +544,14 @@ class NodeAgent:
def
__init__
(
self
,
config_path
:
Optional
[
str
]
=
None
):
def
__init__
(
self
,
config_path
:
Optional
[
str
]
=
None
):
self
.
config
=
self
.
_load_config
(
config_path
)
self
.
config
=
self
.
_load_config
(
config_path
)
self
.
executor
=
make_executor
(
self
.
config
)
self
.
executor
=
make_executor
(
self
.
config
)
self
.
capabilities
=
self
.
_detect_capabilities
()
self
.
computer
=
make_computer_controller
(
self
.
config
)
self
.
computer
=
make_computer_controller
(
self
.
config
)
self
.
browser
=
None
self
.
browser
=
None
if
self
.
c
apabilities
.
get
(
'enable_browser'
)
and
HAS_BROWSER
:
if
self
.
c
onfig
.
get
(
'enable_browser'
)
and
HAS_BROWSER
:
try
:
try
:
self
.
browser
=
BrowserController
()
self
.
browser
=
BrowserController
()
except
Exception
as
e
:
except
Exception
as
e
:
_log_init_warning
(
'browser_control'
,
e
)
_log_init_warning
(
'browser_control'
,
e
)
self
.
capabilities
=
self
.
_detect_capabilities
()
def
_load_config
(
self
,
path
:
Optional
[
str
])
->
Dict
[
str
,
Any
]:
def
_load_config
(
self
,
path
:
Optional
[
str
])
->
Dict
[
str
,
Any
]:
"""Load node configuration from JSON."""
"""Load node configuration from JSON."""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment