di-sukharev / di-sukharev/opencommit
[Feature]: Add support for gpt-4-turbo (aka gpt-4-1106-preview) model
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 445
- Avg merge
- 18m
- Merged PRs (30d)
- 2
Description
Description
The new model is significantly cheaper than the regular gpt-4 that is supported today. still a 10X from gpt-3-turbo but just in case people want to use it instead of the gpt-4 that is supported today.
Suggested Solution
Add gpt-4-1106-preview to the list of valid configuration values for OCO_MODEL
Alternatives
No response
Additional Context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the configuration validation or model list for OCO_MODEL and inspect how the currently supported GPT-4 value is handled. Add the requested model value there, then verify that OCO_MODEL accepts gpt-4-1106-preview without rejecting existing values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- ai, cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100