-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
magnetic one example failed with MultimodalWebSurfer is not defined #4136
Comments
@victordibia I will start working on this issue to resolve the error related to |
@mdazfar2 thanks for the fast PR! I failed to understand what changes in your PR fixed the issue. Can you explain a bit? |
I decided to look at the implementation, it seems try:
await self._page.evaluate(self._page_script)
except Exception:
pass
....
result = await self._page.evaluate("MultimodalWebSurfer.getPageMetadata();") If any error rises during page script init, Can the team confirm if this is a bug and its cause? I might be able to resolve it. |
What happened?
While running example.py of magnetic one, "Click a button" step failed due to the following
What did you expect to happen?
No error
How can we reproduce it (as minimally and precisely as possible)?
Run exmple.py unmodified
User input: Visit https://smol.com and find out how much fabric conditioner cost.
AutoGen version
0.4
Which package was this bug in
Magentic One
Model used
gpt-4o
Python version
3.11
Operating system
MacOS
Any additional info you think would be helpful for fixing this bug
I suspect page transition after "clicking a button" action resulted in script calling MultimodalWebSurfer too early which is yet to initialize.
The text was updated successfully, but these errors were encountered: