Robitx / gp.nvim

Gp.nvim (GPT prompt) Neovim AI plugin: ChatGPT sessions & Instructable text/code operations & Speech to text [OpenAI]
MIT License
537 stars 49 forks source link

feat: support configurable audio transcriptions endpoint #140

Open jasiskis opened 1 month ago

jasiskis commented 1 month ago

Hey!

Thanks for the awesome plugin, I'm using it a lot and it has been quite a nice experience so far.

I have an issue where I need to override the transcriptions endpoint for a custom internal endpoint, in this PR i'm adding support for that.

I did the simplest change possible as I'm not use the design you have in mind for composability of urls. IMO it could have just a "base" endpoint and all paths are based on it, but I leave that to you.

Cheers!