-
Notifications
You must be signed in to change notification settings - Fork 698
feat: crypto compare api integration skill set #172
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
feat: crypto compare api integration skill set #172
Conversation
|
Thank you for contributing the code; it looks great. I’m testing your code locally and will provide you with feedback later. Thank you. |
|
I just started hahahaha |
|
Someone help me for my life.. I need some money |
hyacinthus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should pass the key in get_cryptocompare_skill instead of using an environment variable to get it.
Our generic skill loading mode is not fully finalized yet. After addressing the above issues, this PR should be fine as skills. We will make a few change later to allow it to be configurable and loaded by agent.
|
Hey @hyacinthus , Made the changes you advised. FYI: doing this PR for the EthGlobal Hackathon |
Thanks, I'll test them tomorrow. |
hyacinthus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test still cannot pass; please address the outstanding issues. Thank you.
…py has had timestamp removed
|
Hi, The above issues have been resolved. Can you check the skill again. Thank you. |
feat: crypto compare api integration skill set
Description
Please include a summary of the changes and the related issue.
Type of Change
Checklist
Related Issue
Add CryptoCompare Skills Module
Description
This PR introduces a new CryptoCompare skills module that integrates with the CryptoCompare API. The module expands our platform’s capabilities by providing tools to fetch various cryptocurrency-related data, including:
The module is structured similarly to our existing Twitter and Moralis skills modules to ensure consistency across our codebase.
Changes
New Directory and Files:
skills/cryptocompare/__init__.py: Contains the factory functionget_cryptocompare_skillwhich maps skill names to their respective tool classes.api.py: Houses API configuration (base URL, API key), shared input schemas, API functions, and prompt strings.base.py: Implements theCryptoCompareBaseToolwith common functionalities such as rate limiting.fetch_news.pyfetch_price.pyfetch_trading_signals.pyfetch_top_market_cap.pyfetch_top_exchanges.pyfetch_top_volume.pyAPI Integration:
CRYPTO_COMPARE_API_KEYenvironment variable for authentication.Motivation
Integrating CryptoCompare data will allow our platform to source robust and comprehensive cryptocurrency insights, enhancing our analytical capabilities and providing richer data to our users.
Testing
Closes #171