Closed icaoberg closed 11 months ago
@icaoberg Hello, have you tried this in another repository on the same machine? Has it the same behavior? Also even if the context (git diff result) is the same, by default temperature (generation parameter which affects the determinism of model responses) is 1, not 0, so the API response must be different each request, so it's strange.
@lanesket I tried it on another Linux system running Zorin and I get the same exact result. So I wonder if this is an issue related to my key?
(base) ➜ hubmapbags git:(icaoberg-patch-1) ✗ painy comment
Changed files: hubmapbags/anatomy.py, hubmapbags/utilities.py
Commit message:
Refactor square function. Use math.pow instead of multiplication.
this is another project so different source code. I don't know what is happening.
@icaoberg Unfortunately I can't reproduce this error. You might want to try making some request to their OpenAI API manually to see the response, and maybe try a different key. Here's a link to endpoint, which is used - https://platform.openai.com/docs/api-reference/chat/create.
But in general this seems like very strange behavior to me, since it should definitely not depend on the operating system and if git diff
is different, the result should be different.
@lanesket if I uninstall painy
and reinstall this issue goes away for away for a while. I need to pinpoint the error but I am sure this is related to the openai
package.
Closing the issue. The new version is available, deleted all previous releases due to different errors.
I am running painy on several machines and it works great (thanks so much!).
But for whatever reason, on this particular Ubuntu 20.04 laptop, I always get the same comment, over and over again. The comment is not even related to the contents/diff on the file.
It doesn't matter how many times I regenerate it, I get the same comment on any file commit.
Any feedback or ideas?