feat: Add AVE Cloud Skills as conversational agent tools (#56) #58
Reference in New Issue
Block a user
Delete Branch "fix/issue-56"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
This PR adds AVE Cloud Skills integration to replace and expand the conversational agent tools as specified in issue #56.
Changes
ave-cloud-skillas git submodule at project rootsrc/backend/app/avepointing to../../ave-cloud-skill/scripts/avefor Python importssearch_tokenstool to useave-cloud-skilllibrary's/tokensAPI endpointget_token- Get detailed token information using/tokens/{address}-{chain}endpointget_price- Get token prices using/tokens/priceendpointget_risk- Get token risk analysis using/contracts/{address}-{chain}endpointImplementation
The implementation uses the
ave.http.api_getandave.http.api_postfunctions from theave-cloud-skilllibrary directly, with environment variables set from the application's settings.Tool Descriptions
search_tokens(keyword, limit)get_token(address, chain)get_price(token_ids)get_risk(address, chain)Dependencies
rather than copying the code from ave cloud skills, is it possible to call them directly? for example in the data-rest SKILL.md said to use this script
python scripts/ave_data_rest.py trending --chain <chain> [--page 0] [--page-size 20]to get trending tokens. so can we from the tool spec just call this python script instead of copying the code from ave_data_rest.py to the conversation python script?lgtm