Nutlope / aicommits

A CLI that writes your git commit messages for you with AI

Home Page:https://www.npmjs.com/package/aicommits

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feat: Custom OPENAI API Host

Ashesh3 opened this issue · comments

commented

Feature request

I would like to request the ability to specify a custom OpenAI API Host for aicommits. Currently, aicommits uses the default API Host provided by OpenAI, but it would be useful to be able to specify a different API Host for users who want to use a different OpenAI API endpoint.

Why?

The motivation behind this feature request is that some users may have specific needs or constraints that require them to use a different OpenAI API Host. For example, they may have an on-premises OpenAI API endpoint or they may want to use a third-party provider that offers OpenAI API hosting. Having the ability to specify a custom API Host would allow them to use aicommits with their custom setup.

Alternatives

One alternative solution would be for users to modify the source code of aicommits to support a custom API Host. However, this would require technical expertise and would be difficult for non-technical users.

Additional context

This feature request would be a valuable addition to aicommits, as it would allow users to customize their OpenAI API usage to fit their specific needs. Thank you for considering this feature request.

https://github.com/openai/openai-node/blob/master/dist/configuration.d.ts#L63

commented

Same demand

And I also noticed that pull request #232 has been submitted to implement this feature. I would like to kindly request your attention and consideration in reviewing and potentially merging this pull request. Thanks ! @Nutlope @privatenumber