Comments (12)
Hey guys, please install from main branch using pip install --no-cache -e .
and let me know if this persists
from agency-swarm.
I'm facing the same problem.
from agency-swarm.
Exact same problem here --- both when importing from agency-swarm
, and when importing from a custom module I created after importing BrowserAgent via the CLI agency-swarm import-agent
command.
from agency-swarm.
Hey guys, please install from main branch using
pip install --no-cache -e .
and let me know if this persists
Still not working as of now.
from agency-swarm.
I am using requirement or poetry . How can I install the module without using pip install --no-cache -e .
so that I can use the browsing agent
pip install --no-cache -e .
method can only work in development.
from agency-swarm.
Pass local path to latest agency swarm into pip install or in your poetry dependencies. Alternatively install from github pip install --no-cache git+https://github.com/VRSEN/agency-swarm.git
@okoliechykwuka
from agency-swarm.
After attempting to resolve the issue with the proposed solution, I am still encountering an error. I'm not sure how severe it is, but here is the error message:
Files folder 'C:\Users\javi\Documents\PROGRAMAS_PYTHON\agency-swarm\agency_swarm\agents\BrowsingAgent\files' is not a directory. Skipping...
Schemas folder path is not a directory. Skipping... C:\Users\javi\Documents\PROGRAMAS_PYTHON\agency-swarm\agency_swarm\agents\BrowsingAgent\schemas
Updating agent... GenesisCEO
Updating agent... ToolCreator
Updating agent... AgentCreator
Updating agent... OpenAPICreator
Updating agent... BrowsingAgent
Any guidance on how to fix this would be greatly appreciated.
from agency-swarm.
I'm running the exact same code and the BrowsingAgent is loaded in fine, but when you ask it to search anything, it shoots the following error:
File "/opt/anaconda3/envs/AgencySwarmNotebooks/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
self.run()
File "/opt/anaconda3/envs/AgencySwarmNotebooks/lib/python3.11/site-packages/ipykernel/ipkernel.py", line 761, in run_closure
_threading_Thread_run(self)
File "/opt/anaconda3/envs/AgencySwarmNotebooks/lib/python3.11/threading.py", line 982, in run
self._target(*self._args, **self._kwargs)
File "/opt/anaconda3/envs/AgencySwarmNotebooks/lib/python3.11/site-packages/agency_swarm/agency/agency.py", line 196, in get_completion_stream
next(res)
File "/opt/anaconda3/envs/AgencySwarmNotebooks/lib/python3.11/site-packages/agency_swarm/threads/thread.py", line 118, in get_completion
self._create_run(recipient_agent, additional_instructions, event_handler, tool_choice)
File "/opt/anaconda3/envs/AgencySwarmNotebooks/lib/python3.11/site-packages/agency_swarm/threads/thread.py", line 274, in _create_run
stream.until_done()
File "/opt/anaconda3/envs/AgencySwarmNotebooks/lib/python3.11/site-packages/openai/lib/streaming/_assistants.py", line 102, in until_done
consume_sync_iterator(self)
File "/opt/anaconda3/envs/AgencySwarmNotebooks/lib/python3.11/site-packages/openai/_utils/_streams.py", line 6, in consume_sync_iterator
for _ in iterator:
File "/opt/anaconda3/envs/AgencySwarmNotebooks/lib/python3.11/site-packages/openai/lib/streaming/_assistants.py", line 69, in __iter__
for item in self._iterator:
File "/opt/anaconda3/envs/AgencySwarmNotebooks/lib/python3.11/site-packages/openai/lib/streaming/_assistants.py", line 405, in __stream__
self._emit_sse_event(event)
File "/opt/anaconda3/envs/AgencySwarmNotebooks/lib/python3.11/site-packages/openai/lib/streaming/_assistants.py", line 368, in _emit_sse_event
self.on_tool_call_created(self._current_tool_call)
File "/opt/anaconda3/envs/AgencySwarmNotebooks/lib/python3.11/site-packages/agency_swarm/agency/agency.py", line 392, in on_tool_call_created
raise ValueError("Invalid tool call type: " + tool_call["type"])
ValueError: Invalid tool call type: browser
This happens when I ask the agent to search anything up, including @okoliechykwuka's original prompt. It seems that it doesn't have an actual browser tool to make any searches?
from agency-swarm.
Aside from the bugs, the Framework is too expensive to use.
from agency-swarm.
Just added a SearchWeb tool to the BrowsingAgent in my fork ( #146 ), which resolves some of the bugs. I've also made the agent rely less on the user when navigating by taking more screenshots. Just as a note, don't leave your chrome profile path in the selenium config if you have that chrome profile already open because it will just throw an error (you can't have the same profile open more than once). Other than that make sure you're importing the agent from the right place.
from agency-swarm.
This issue is stale because it has been open for 30 days with no activity. Please upgrade to the latest version and test it again.
from agency-swarm.
This issue was closed because it has been inactive for 14 days since being marked as stale. If the issue still persists, please reopen.
from agency-swarm.
Related Issues (20)
- Bug in `Agent.init_oai` Method Prevents Assistants from Updating Correctly
- I'm
- Sometimes Function(sendMessage to one other agent) may do twice。 HOT 1
- BrowsingAgent get_completion() returns a generator object HOT 3
- Temperature Not Updated When Set to 0 HOT 1
- feat:Add support zip, tar.gz and git repo uploading as files HOT 5
- Is there a way to have debugging/verbose output HOT 3
- Needs Guide for Self Hosted LLMs HOT 8
- Need "ChatDev" type workflow example HOT 3
- Genesis stuck in ToolCreator loop HOT 5
- Duplicate call_ids Submitted When Calling Tool Multiple Times Causes openai.BadRequestError HOT 1
- Agency Swarm
- Token Usage Statistics HOT 5
- Genesis with Open Source / Third Party models HOT 5
- Fails to read/access files(csv, pdf, etc...) HOT 1
- genesis facing token limit for usage tier 1 openai accounts - suggesting having configurable model setting HOT 1
- Insufficient support managing multiple threads when several users interact with the same agency simultaneously. HOT 1
- Question: restart or finish a run of Genesis possible? HOT 1
- Shared state Initialization HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agency-swarm.