8 ms·
The interface for a provider does abstract over this, so you could implement it in the way that most other plugins do by rolling your own prompts and parsing: h
by anonymid 2y ago
The interface for a provider does abstract over this, so you could implement it in the way that most other plugins do by rolling your own prompts and parsing: https://github.com/dlants/magenta.nvim/blob/main/node/providers/provider.ts#L61 https://github.com/dlants/magenta.nvim/blob/main/node/provid...
But yeah... it probably would take substantially more effort and be more brittle than having the model providers do it for you.
I'm happy to accept PRs if folks want to go for it :)