ai-commit
ai-commit copied to clipboard
400 Request Exception when trying to generate commit
Describe the bug
[Illuminate\Http\Client\RequestException (400)]
HTTP request returned status code 400
To Reproduce Steps to reproduce the behavior:
- Configure ai-commit
- Run
ai-commit commit -v - See error
Expected behavior I expected the function to work similar to the demo
Screenshots
Additional context
Branch issue-110-400_Request_Exception_when_trying_to_generate_commit created!
Thanks for opening your first issue here! Be sure to follow the issue template!
Would be helpful to see the request it's submitting to the OpenAI API here to help debug the bad request
@RONNCC
Try to configure request parameters:
./ai-commit config set generators.openai.parameters.stream false
./ai-commit config set generators.openai_chat.parameters.stream false
Or update to the latest:
./ai-commit self-update
Stale issue message