AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

Lets agent get number of astronauts in space.

Open sr5434 opened this issue 1 year ago • 4 comments

Background

The current agent cannot access real-time information about how many astronauts are in space.

Changes

This uses the open notify api to get information about how many astronauts are in space.

Documentation

I included a docstring for the function that fetches the data.

Test Plan

I haven’t tested it, as I added my code on the main branch which is currently broken

PR Quality Checklist

  • [ x ] My pull request is atomic and focuses on a single change.
  • [ ] I have thoroughly tested my changes with multiple different prompts.
  • [ x ] I have considered potential risks and mitigations for my changes.
  • [ x ] I have documented my changes clearly and comprehensively.
  • [ x ] I have not snuck in any "extra" small tweaks changes

I didn’t add tests because I forked master which is broken

sr5434 avatar Apr 15 '23 16:04 sr5434

CI will be red.

nponeccop avatar Apr 15 '23 17:04 nponeccop

Is that going to be a problem?

sr5434 avatar Apr 15 '23 17:04 sr5434

Yes you are supposed to fix it. Usually it's extra space, or broken tests

nponeccop avatar Apr 15 '23 18:04 nponeccop

@nponeccop Can you reapprove the changes so that the CI job can rerun?

sr5434 avatar Apr 15 '23 18:04 sr5434

Can you merge this? It passed the CI

sr5434 avatar Apr 16 '23 18:04 sr5434

@richbeales ? Should he wait for plugins?

nponeccop avatar Apr 16 '23 18:04 nponeccop

If we wait for plugins, will I have to rewrite my code?

sr5434 avatar Apr 16 '23 20:04 sr5434

Yes, unfortunately.

nponeccop avatar Apr 16 '23 20:04 nponeccop

Ok, it is not too much code to reimplement.

sr5434 avatar Apr 16 '23 20:04 sr5434

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

github-actions[bot] avatar Apr 17 '23 22:04 github-actions[bot]

@richbeales should I wait for plug-ins to come out?

sr5434 avatar Apr 20 '23 19:04 sr5434

Hello!

We sincerely appreciate your contribution to our project. Please note that only essential features will be merged into the main repository. Thus, we encourage you to open a pull request in the Auto-GPT-Plugins repository.

If you encounter any difficulties in converting your code into a plugin, please do not hesitate to seek assistance from the #plugins-chat on our Discord Server.

We look forward to your contribution to the Plugins repository, and we apologize for any inconvenience this may have caused.

hdkiller avatar Apr 23 '23 19:04 hdkiller

I have opened a pull request on the plugins repo.

sr5434 avatar Apr 24 '23 13:04 sr5434