Pedro Macedo
Pedro Macedo
> I wrote a little crate named [`wslpath-rs`](https://crates.io/crates/wslpath-rs) because I figured that kind of functionality might be desired by other projects as well. > > I updated and rebased this...
> @Holzhaus, I will check this and hopefully merge during the weekend. > > @pedrohgmacedo > > > I wonder if startup time could be improved by using a non...
> I found a problem but I don't think it's caused by this PR: when opening a file with spaces in the path, multiple partial paths are passed to neovim...
> That is quite strange they reject the default user agent, what is the reason they do that? Anyway, I think it would be fine to add an option to...
Here's what I did: ```diff diff --git a/py/utils.py b/py/utils.py index 963377d..5fd0f90 100644 --- a/py/utils.py +++ b/py/utils.py @@ -203,6 +203,7 @@ def openai_request(url, data, options): enable_auth=options['enable_auth'] headers = { "Content-Type": "application/json",...
The [completions api](https://platform.openai.com/docs/api-reference/completions/create) uses a different format for the request than chat, and it does not support models later than gpt 3.5
Ideally, I think the plugin should be decoupled from the openai api format, and endpoint would be plugged using adapters.
> @pedrohgmacedo I like the idea of adapters, but since there are no big differences between API/model providers, I find it simpler to stick to [OpenAI-compatible APIs](https://github.com/madox2/vim-ai?tab=readme-ov-file#using-custom-api) as there are...
> I would like to know too. > > I think [here](https://github.com/sontungexpt/sttusline?tab=readme-ov-file#override-default-component) there is some information on how to do it "manually". Yeah, but then I would be basically be...