Hacker News new | ask | show | jobs
by whimsicalism 509 days ago
How does this compare to avante.nvim?

and does it support r1 endpoints?

2 comments

Both those questions are answered clearly in the readme:

> compared to avante > I think it's fairly similar. However, magenta.nvim is written in typescript and uses the sdks to implement streaming, which I think makes it more stable. I think the main advantage is the architecture is very clean so it should be easy to extend the functionality. Between typescript, sdks and the architecture, I think my velocity is pretty high. I haven't used avante in a while so I'm not sure how close I got feature-wise, but it should be fairly close, and only after a couple of weeks of development time.

And:

> Another thing that's probably glaringly missing is model selection and customization of keymappings, etc...

thank you - missed that section at the bottom on my phone
r1 doesn't support function calling, so I'd assume the answer will be no.
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/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 :)