This commit is contained in:
Paul Gauthier 2023-05-21 16:16:21 -07:00
parent d687261194
commit e34c35ff9b

View file

@ -16,13 +16,14 @@ Using only the meta-data in the map, GPT is able to:
- Figure out the arguments required to instantiate the `InputOuput` instance. - Figure out the arguments required to instantiate the `InputOuput` instance.
- The `Coder` class looks complex enough that it decides to use a `MagickMock` - The `Coder` class looks complex enough that it decides to use a `MagickMock`
The signature of `cmd_add()` doesn't have types, so GPT incorrectly guesses The signature of `cmd_add()` doesn't have types, so GPT makes a
that it wants a `list` of files. The user uses the `/run` command to reasonable but incorrect guess that it wants a `list` of files. The
run the new unit test, and gets an error based on this misunderstanding. user uses the `/run` command to run the new unit test, which throws an
error based on this misunderstanding.
GPT reviews the error message and fixes the call to `cmd_add()` to pass GPT reviews the error message and fixes the call to `cmd_add()` to
a string with a space-separated list of filenames instead. correctly pass a `str` with a space-separated list of filenames
The test then passes on the next `/run`. instead. The test then passes on the next `/run`.
## Chat transcript ## Chat transcript