Skip to content

Run Agent Error #552

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
zh5744 opened this issue Apr 30, 2025 · 1 comment
Closed

Run Agent Error #552

zh5744 opened this issue Apr 30, 2025 · 1 comment

Comments

@zh5744
Copy link

zh5744 commented Apr 30, 2025

Agent.init() got an unexpected keyword argument 'system_prompt_class'
Traceback (most recent call last):
File "E:\workspace-browser-use\web-ui\webui.py", line 483, in run_custom_agent
_global_agent = CustomAgent(
^^^^^^^^^^^^
File "E:\workspace-browser-use\web-ui\src\agent\custom_agent.py", line 112, in init
super(CustomAgent, self).init(
File "C:\Users\57443\AppData\Local\Programs\Python\Python312\Lib\site-packages\browser_use\utils.py", line 283, in wrapper
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
TypeError: Agent.init() got an unexpected keyword argument 'system_prompt_class'

@warmshao
Copy link
Collaborator

warmshao commented May 1, 2025

try the new version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants