-
Notifications
You must be signed in to change notification settings - Fork 385
Open
Description
Bug Description
Getting a too_much_tokens
error when using opencommit, but the same repository works perfectly fine with aicommits.
Environment
- opencommit version: 3.2.10
- Node.js version: v24.6.0
- OS: macOS Sequoia 15.5 x86_64
Expected Behavior
Should generate commit messages without token limit errors, similar to how aicommits works.
Actual Behavior
Encountering too_much_tokens
error when attempting to generate commit messages.
Additional Context
- The same codebase works without issues using aicommits
- This suggests the issue might be related to how opencommit processes or sends context to the AI model
- Possible token optimization needed in opencommit's implementation
Reproduction Steps
- Install opencommit in this repository
- Attempt to generate a commit message
- Observe the too_much_tokens error
Workaround
Currently using aicommits as an alternative, which works without token issues.
Metadata
Metadata
Assignees
Labels
No labels