AIOS
AIOS copied to clipboard
[Usage] How to use tool inside agent call
Checked other resources
- [x] I added a very descriptive title to this issue.
- [x] I am sure the issue hasn't been already addressed by searching through https://github.com/agiresearch/AIOS/issues.
- [x] The usage issue is not resolved by updating to the latest stable version in the main branch.
Your current environment
curl --location 'http://localhost:8000/agents/submit'
--header 'Content-Type: application/json'
--data '{
"agent_id": "example/creation_agent",
"agent_config": {
"task": "Draw a cute cat"
}
}'
How would you like to use aios
curl --location 'http://localhost:8000/agents/submit'
--header 'Content-Type: application/json'
--data '{
"agent_id": "example/creation_agent",
"agent_config": {
"task": "Draw a cute cat"
}
}'
When running this getting below error raise Exception(f"Tool {tool_name} not found in the tool hub") Exception: Tool stability-ai/text_to_image not found in the tool hub
download-tool
--tool_author stability-ai
--tool_name text_to_image
But already executed this command