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

[Usage] Issues related to installation or use of AIOS #214

Open
3 tasks done
evison opened this issue Aug 22, 2024 · 3 comments
Open
3 tasks done

[Usage] Issues related to installation or use of AIOS #214

evison opened this issue Aug 22, 2024 · 3 comments
Labels
usage Question about how to use

Comments

@evison
Copy link
Collaborator

evison commented Aug 22, 2024

Checked other resources

  • I added a very descriptive title to this issue.
  • I am sure the issue hasn't been already addressed by searching through https://github.com/agiresearch/AIOS/issues.
  • The usage issue is not resolved by updating to the latest stable version in the main branch.

Your current environment

This thread is dedicated to gathering any challenges, obstacles, or errors encountered during the installation or use of AIOS, particularly from those new to the platform. If you run into any issues, whether it's a bug, an inconvenience, or something else during the setup or operation of AIOS, please share them here. Our team will work to optimize AIOS based on your feedback.

How would you like to use aios

I want to run aios with the llm endpoint: xxx for agent: xxx.

@evison evison added the usage Question about how to use label Aug 22, 2024
@evison evison changed the title [Usage] Issues related to installing or running AIOS [Usage] Issues related to installation or use of AIOS Aug 22, 2024
@deepak-pradhan
Copy link

deepak-pradhan commented Aug 24, 2024

Hi Professor, I could install successfully this evening

@deepak-pradhan
Copy link

AIOS installation on Android phone (arm64/Snapdragon 8 gen2) using Termux.

TEST result from last weekend:

  1. All requirements were met, with little prep on Termux.
    Pandas and Polars required termux tur repo.

  2. Only issue is with torch, it requires ANDROID_NDK to build/install. This weekend will install NDK and retry.Screenshot_20240901_155312_Termux.jpg

@worstkid92
Copy link

Hi,professor,I followed the installation process and succeed. But for use,I use ollama as backend. I ran
$ python main.py --llm_name ollama/llama3:8b --use_backend ollama # use ollama/llama3:8b for example after installation. And it showed
`During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/mnt/codes/AIOS/AIOS/main.py", line 118, in
main()
File "/mnt/codes/AIOS/AIOS/main.py", line 110, in main
awaitAgentExecution(agent_id)
File "/mnt/codes/AIOS/AIOS/aios/hooks/llm.py", line 107, in awaitAgentExecution
return future.result()
^^^^^^^^^^^^^^^
File "/mnt/anaconda3_install/envs/venv/lib/python3.11/concurrent/futures/_base.py", line 456, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/mnt/anaconda3_install/envs/venv/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/mnt/anaconda3_install/envs/venv/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/codes/AIOS/AIOS/pyopenagi/agents/agent_factory.py", line 83, in run_agent
agent = self.activate_agent(
^^^^^^^^^^^^^^^^^^^^
File "/mnt/codes/AIOS/AIOS/pyopenagi/agents/agent_factory.py", line 61, in activate_agent
self.manager.download_agent(
File "/mnt/codes/AIOS/AIOS/pyopenagi/manager/manager.py", line 67, in download_agent
response = requests.get(f"{self.base_url}/api/download", params=params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/anaconda3_install/envs/venv/lib/python3.11/site-packages/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/anaconda3_install/envs/venv/lib/python3.11/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/anaconda3_install/envs/venv/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/anaconda3_install/envs/venv/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/anaconda3_install/envs/venv/lib/python3.11/site-packages/requests/adapters.py", line 700, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=3000): Max retries exceeded with url: /api/download?author=example&name=academic_agent (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fbf01d80610>: Failed to establish a new connection: [Errno 111] Connection refused'))`

May I ASK WHAT DID I MISS?

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

No branches or pull requests

3 participants