di-sukharev / di-sukharev/opencommit
[Feature]: Perplexity Support
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 445
- Avg merge
- 18m
- Merged PRs (30d)
- 2
Description
Description
I thought there might be demand for Perplexity since it is cheaper than the ChatGPT-4 model.
Suggested Solution
I believe adding support for it would be beneficial, following the same approach we took when we added compatibility for ollama.
- #269
While there don't seem to be dedicated TypeScript libraries for this, the information here could provide a useful reference for our implementation.
Alternatives
No response
Additional Context
- https://x.com/mdj_dev/status/1766017595243725281?s=20
Hint: GPT-4 Turbo Preview is ~3x cheaper than plain GPT-4. Perplexity models are ~8x cheaper than that.
- https://docs.perplexity.ai/docs/pricing
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
Start by reviewing issue #269 for the existing Ollama integration approach, then compare it with the referenced src/engine/providers/perplexity.ts implementation. Done means Perplexity models can be selected and used through the project's existing provider flow, with relevant behavior covered by the project's tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ollama, typescript
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100