Open joshprk opened 2 days ago
I have the same issue too.
Hi, I also have this issue, but i have sovled this issue:
You can use existing agent path in cerebrum command: --agent cerebrum/example/agents/academic_agent/agent.py
After this, I met another issue:
Saved agent to cache: /.cache/cerebrum/c52c8123-7022-454f-83ca-7e744c165c1a/local.agent
cannot import name 'send_request' from 'aios.hooks.syscall' (/AIOS/aios/hooks/syscall.py)
INFO: 127.0.0.1:39894 - "GET /agents/985440/status HTTP/1.1" 200 OK
cannot import name 'send_request' from 'aios.hooks.syscall' (/AIOS/aios/hooks/syscall.py)
INFO: 127.0.0.1:39894 - "GET /agents/985440/status HTTP/1.1" 200 OK
cannot import name 'send_request' from 'aios.hooks.syscall' (/AIOS/aios/hooks/syscall.py)
INFO: 127.0.0.1:39894 - "GET /agents/985440/status HTTP/1.1" 200 OK
cannot import name 'send_request' from 'aios.hooks.syscall' (/AIOS/aios/hooks/syscall.py)
INFO: 127.0.0.1:39894 - "GET /agents/985440/status HTTP/1.1" 200 OK
...
I also have the same issue. However, running the command python aios_demo.py --llm_name gpt-4o-mini --llm_backend openai --agent example/academic_agent --task "tell me what the AIOS paper is about?" works successfully.
Checked other resources
Describe your current environment
OS: NixOS 24.11 Unstable GPU: N/A CUDA: N/A LLM Backend: Google LLM Provider: gemini-1.5-flash Cerebrum installed from source Python 3.11, using venv
Describe the bug
Any attempt to run an agent fails with this written in the kernel:
This includes running aios-basic-demo, aios-concurrent-demo, and the test.py from Cerebrum.