aicommits icon indicating copy to clipboard operation
aicommits copied to clipboard

Add support for custom OpenAI URL

Open abbra opened this issue 11 months ago • 5 comments

Allows to run local OpenAI-compatible server. Since these local instances most likely lack proper certificates, allow using non-HTTPS endpoints as well.

abbra avatar Mar 13 '24 09:03 abbra

It's quite strange how variables carry varying connotations.

config.openai_url
config.OPENAI_KEY

And etc.

Why not to keep everything in uppercase?

toropanov avatar Mar 13 '24 12:03 toropanov

@toropanov thanks, I updated to use uppercase version for both.

abbra avatar Mar 13 '24 14:03 abbra

I've created a new project with your options based on aicommits. If you're interested, please check it out. https://github.com/tak-bro/aicommit2

tak-bro avatar Mar 21 '24 04:03 tak-bro

👍🏻 I also plan to do this, it is very useful.

ATQQ avatar Mar 30 '24 12:03 ATQQ

Anything blocking this PR? I'd like to attach aicommits to LM Studio so I can keep everything local to my machine 🤞

mrdjohnson avatar May 22 '24 06:05 mrdjohnson