Open zioalex opened 6 months ago
It runs without error but the response is wrong and not updated
What is the response?
@zioalex please share the response or any screenshots. Thanks
@Hk669 I have a very similar setup and also have no response. Upon setting a break point and playing around in web_surfer.py
, self.browser.visit_page
is not called during the process. I think it's probably due to the method is not called somehow. self.browser.page_title
is None. Below is my response in terminal.
user_proxy (to web_surfer):
Search the web for information about Microsoft AutoGen
--------------------------------------------------------------------------------
>>>>>>>> USING AUTO REPLY...
web_surfer (to user_proxy):
{"name": "informational_web_search", "parameters": {"query": "Microsoft AutoGen"}}
--------------------------------------------------------------------------------
user_proxy (to web_surfer):
Summarize these results
--------------------------------------------------------------------------------
>>>>>>>> USING AUTO REPLY...
web_surfer (to user_proxy):
{"name": "summarize_page", "parameters": {"url": "about:blank"}}
--------------------------------------------------------------------------------
Describe the bug
I am trying to use the WebSurferAgent as described here https://nbviewer.org/github/microsoft/autogen/blob/main/notebook/agentchat_surfer.ipynb
Here is my code:
Steps to reproduce
Model Used
llama3:8b and mistral
Expected Behavior
A proper internet search is done.
Screenshots and logs
No response
Additional Information
annotated-types==0.6.0
anyio==4.3.0
beautifulsoup4==4.12.3
certifi==2024.2.2
cffi==1.16.0
charset-normalizer==3.3.2
cryptography==42.0.5
diskcache==5.6.3
distro==1.9.0
docker==7.0.0
exceptiongroup==1.2.1
FLAML==2.1.2
h11==0.14.0
httpcore==1.0.5
httpx==0.27.0
idna==3.7
markdownify==0.12.1
numpy==1.24.4
openai==1.20.0
packaging==24.0
pathvalidate==3.2.0
pdfminer.six==20231228
pyautogen==0.2.26
pycparser==2.22
pydantic==2.7.1
pydantic-core==2.18.2
python-dotenv==1.0.1
regex==2024.4.16
requests==2.31.0
six==1.16.0
sniffio==1.3.1
soupsieve==2.5
termcolor==2.4.0
tiktoken==0.6.0
tqdm==4.66.2
typing-extensions==4.11.0
urllib3==2.2.1