infinite-ai-array
infinite-ai-array copied to clipboard
Automagic unit tests! (support function arguments, and refactor)
Apologies for batching a few changes together, but the gist of the motivation is available in the README:
- Needed a way of accepting function arguments to the magic functions
- Improved the prompt generation by adding argument names for functions, classes
- I noticed that some OpenAI completions only ended in two backticks - fixed that, but not sure how safe it is.
- It's fun being able to run multiple tests at once, all from OpenAI - refactored the code and added an environment variable to allow that