yaroslavyaroslav / OpenAI-sublime-text

First class Sublime Text AI assistant with GPT-o1 and ollama support!
MIT License
198 stars 15 forks source link

Add support for other LLM with OpenAI compatible API #40

Closed Aiq0 closed 9 months ago

Aiq0 commented 9 months ago

Added support for other LLM with OpenAI compatible API.

Partially fixes #29 Should fix #21 (if running Llama 2 via Ollama)

Done just before school, I will test it later today.

@rubjo @yaroslavyaroslav can you please test it too?

rubjo commented 9 months ago

Nice, looks good to me. Will probably be interesting for a lot of people who want to test out Mistral or other models locally. Thanks to the both of you :)

Aiq0 commented 9 months ago

I now tested it with Ollama and codellama and it works as expected.

yaroslavyaroslav commented 9 months ago

Perfection!)

Thank you for your contribution @Aiq0, I'll release this to packagecontrol in a few next days.

yaroslavyaroslav commented 9 months ago

Nice, looks good to me. Will probably be interesting for a lot of people who want to test out Mistral or other models locally. Thanks to the both of you :)

Promo among them are more than welcome)