nvim-magic icon indicating copy to clipboard operation
nvim-magic copied to clipboard

:genie: Pluggable framework for using AI code assistance in Neovim

Results 9 nvim-magic issues
Sort by recently updated
recently updated
newest added

**Describe the bug** OpenAI error in API response engine not found. **To Reproduce** Steps to reproduce the behavior: e.g. 1. Select some text 2. Press `mcs` This is using the...

I found a possible improvement on your code, but just for context: I was basicly hand-cloning your repo both to learn a little bit more of lua and try to...

It should be possible to create a new prompt on the runtime path and have it loaded dynamically, then it can be hooked into a flow (TBD) Relates to #22

If while a completion is being fetched, the text that was used in the prompt is edited, then the resulting completion can be inserted into the wrong place or result...

type:bug
priority:high

* document how to create a new prompt and make it available to nvim-magic * a flow for using a simple custom prompt (only {{{language}}} and {{{snippet}}} tags)

priority:high
type:feature
type:documentation

Could do the following healthchecks for the OpenAI backend * `curl` is present * `OPENAI_API_KEY` envvar is set

type:improvement
priority:low

priority:medium
type:codeqa

Currently they default to `300` for code completion flow and `1000` for suggestions/docstring flows but they should be easily overrideable as OpenAI charges per token generated.

priority:low
type:feature

e.g. change `nvim-magic: replaced code with suggested code (1877 characters)` to something like `nvim-magic: fetched code suggestion (1877 characters) in ~4.3s`

type:improvement
priority:low