feat(tools): add Currency Exchange Rate integration#6759
Open
KRYSTALM7 wants to merge 6 commits intoaden-hive:mainfrom
Open
feat(tools): add Currency Exchange Rate integration#6759KRYSTALM7 wants to merge 6 commits intoaden-hive:mainfrom
KRYSTALM7 wants to merge 6 commits intoaden-hive:mainfrom
Conversation
Adds real-time currency exchange rates and conversion via ExchangeRate-API. Tools added: - currency_exchange_get_rates: fetch latest rates for a base currency - currency_exchange_convert: convert amount between two currencies - currency_exchange_list_currencies: list all ~160 supported currencies Closes aden-hive#6672
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a Currency Exchange Rate tool to Hive using the free ExchangeRate-API.
Enables agents to fetch real-time rates and perform currency conversions.
Tools Added
currency_exchange_get_rates— fetch latest rates for any base currencycurrency_exchange_convert— convert amount between two currenciescurrency_exchange_list_currencies— list all ~160 supported currenciesFiles Changed
tools/src/aden_tools/tools/currency_exchange_tool/__init__.pytools/src/aden_tools/tools/currency_exchange_tool/currency_exchange_tool.pytools/src/aden_tools/tools/currency_exchange_tool/README.mdtools/src/aden_tools/tools/__init__.pyAuthentication
Free API key from https://exchangerate-api.com
1,500 requests/month, no credit card required
Testing
18 unit tests in separate PR
Closes #6672