agiresearch/OpenAGI

[Feature] Fix tools and add tests

Opened this issue · 6 comments

It seems that the tools haven't been thoroughly tested; some tools just don't work. So I'm planning to check every tool, add tests, and make sure they all work as expected.

Tools

  • Arxiv
  • BingSearch
  • CurrencyConverterAPI
  • GooglePlacesAPI
  • GoogleSearch
  • MoonPhaseSearch
  • Wikipedia
  • WolframAlpha
  • WordsAPI
  • HotelSearchAPI, discord id: FlynnFlag
  • TopMovieAPI
  • TopSeriesAPI
  • WeatherAPI
  • SongAutocompleteAPI
  • AirportSearch, discord id: zhonghuali
  • HotelLocationSearch
  • RestaurantLocationSearch

Hi @zzfoo, I am thinking of assigning these unit tests to a new contributor as an onboarding task. Let's use this issue as a mega-thread for this. Thanks for creating it!

I will proceed with adding the unit tests for the "HotelSearchAPI"

I will take the airport search test cases.

I would like to write TopSeriesAPI unit tests.

✅ I will take the Top Movie API Unit Test!

I just recently made a pull request that changes a couple of the tools because they weren't working as intended as you all know. Might want to check that out