Skip to content
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

Introduce SeleniumBrowser #1733

Open
wants to merge 39 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 32 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
23ee145
Update test_web_surfer.py
signalprime Feb 19, 2024
2daec15
Update browser_utils.py
signalprime Feb 19, 2024
9efb297
Update web_surfer.py
signalprime Feb 19, 2024
217ed91
ContentAgent: Custom LLM agent for collecting online content.
signalprime Feb 19, 2024
72a165a
Update content_agent.py
signalprime Feb 19, 2024
46b2424
Update browser_utils.py
signalprime Feb 20, 2024
d34ae1b
Update content_agent.py
signalprime Feb 20, 2024
1ba9e05
Update content_agent.py
signalprime Feb 20, 2024
84fa1b8
Unit Tests for the ContentAgent
signalprime Feb 20, 2024
67f95bf
Update browser_utils.py
signalprime Feb 20, 2024
08f8ff9
Update web_surfer.py
signalprime Feb 20, 2024
3954412
Update content_agent.py
signalprime Feb 20, 2024
749a556
Update content_agent.py
signalprime Feb 20, 2024
818a010
Update browser_utils.py
signalprime Feb 20, 2024
643bad0
Update content_agent.py
signalprime Feb 20, 2024
20cd2a6
Update browser_utils.py
signalprime Feb 20, 2024
0389387
Update test_web_surfer.py
signalprime Feb 20, 2024
be89b9b
Updates to include selenium in websurfer extras, webdrivers in the py…
signalprime Feb 20, 2024
0a40763
Added the websurfer with desktop browser demo notebook
signalprime Feb 22, 2024
25e15e0
Merge branch 'main' into main
signalprime Feb 22, 2024
5602958
Restored to original form in official main branch. Added for clari…
signalprime Feb 22, 2024
8954fef
Further cleaned the two test files and confirmed they passed using th…
signalprime Feb 22, 2024
0c2202c
Update after feedback from GitHub built error, with my apologies for …
signalprime Feb 22, 2024
13ba006
Update contrib-tests.yml for Selenium
signalprime Feb 22, 2024
e1e81f6
Update contrib-openai.yml
signalprime Feb 22, 2024
0b5e733
Update contrib-tests.yml
signalprime Feb 22, 2024
9099b57
Update contrib-openai.yml
signalprime Feb 22, 2024
7443458
Update setup.py
signalprime Feb 22, 2024
1b87acd
Update test_content_agent.py
signalprime Feb 22, 2024
11b00e5
pre-commit fix on setup.py for readability (websurfer extras)
signalprime Feb 22, 2024
66ac7bd
Final cleanup of unnecessary comments within the PR.
signalprime Feb 22, 2024
6fbe0b8
Restored the original copies of the two unrelated notebooks altered b…
signalprime Feb 22, 2024
451405b
Merge branch 'main' into main
sonichi Feb 25, 2024
c06f6fd
Provided a more descriptive name for the agent responsible for collec…
signalprime Feb 25, 2024
ef7586e
Update web_surfer.py
signalprime Mar 26, 2024
2be44bc
Update browser_utils.py
signalprime Mar 26, 2024
e64ae32
Update browser_utils.py
signalprime Mar 26, 2024
3e7cf18
Update contrib-openai.yml
signalprime Mar 26, 2024
841ed31
Merge branch 'main' into main
signalprime Mar 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/contrib-openai.yml
signalprime marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,15 @@ jobs:
pip install -e .[websurfer]
python -c "import autogen"
pip install coverage pytest
- name: Setup edge
uses: browser-actions/setup-edge@latest
if: ${{ matrix.browsers == 'edge' }}
- name: Setup firefox
uses: browser-actions/setup-firefox@latest
if: ${{ matrix.browsers == 'firefox' }}
- name: Setup chrome
uses: browser-actions/setup-chrome@latest
if: ${{ matrix.browsers == 'chrome' }}
- name: Coverage
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
Expand All @@ -253,7 +262,7 @@ jobs:
OAI_CONFIG_LIST: ${{ secrets.OAI_CONFIG_LIST }}
BING_API_KEY: ${{ secrets.BING_API_KEY }}
run: |
coverage run -a -m pytest test/agentchat/contrib/test_web_surfer.py
coverage run -a -m pytest test/agentchat/contrib/test_web_surfer.py test/agentchat/contrib/test_web_surfer_selenium.py test/agentchat/contrib/test_content_agent.py
coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/contrib-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,15 @@ jobs:
- name: Install packages and dependencies for WebSurfer
run: |
pip install -e .[websurfer]
- name: Setup edge
uses: browser-actions/setup-edge@latest
if: ${{ matrix.browsers == 'edge' }}
- name: Setup firefox
uses: browser-actions/setup-firefox@latest
if: ${{ matrix.browsers == 'firefox' }}
- name: Setup chrome
uses: browser-actions/setup-chrome@latest
if: ${{ matrix.browsers == 'chrome' }}
- name: Set AUTOGEN_USE_DOCKER based on OS
shell: bash
run: |
Expand All @@ -209,7 +218,7 @@ jobs:
- name: Coverage
run: |
pip install coverage>=5.3
coverage run -a -m pytest test/test_browser_utils.py test/agentchat/contrib/test_web_surfer.py --skip-openai
coverage run -a -m pytest test/test_browser_utils.py test/agentchat/contrib/test_web_surfer.py --skip-openai test/agentchat/contrib/test_web_surfer_selenium.py --skip-openai test/agentchat/contrib/test_content_agent.py --skip-openai
coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
Expand Down
Loading
Loading