|
| 1 | + |
| 2 | +## Bugfixes |
| 3 | + |
| 4 | +- missing dependency fixed |
| 5 | + |
| 6 | +## 4.2.0 Featues |
| 7 | + |
| 8 | +- New in buffer mode `phantom` |
| 9 | +- `stream` toggle for responses brought back |
| 10 | +- images handling UX improved |
| 11 | +- advertisement logic improved |
| 12 | + |
| 13 | +## Deprecated |
| 14 | +- `append`, `replace`, `insert` in prompt modes is deprecated and will be removed in 5.0 release. |
| 15 | + |
| 16 | +## Detaied description |
| 17 | + |
| 18 | +### Phantom mode |
| 19 | + |
| 20 | +Phantom is the overlay UI placed inline in the editor view (see the picture below). It doesn't affects content of the view. |
| 21 | + |
| 22 | +1. You can set `"prompt_mode": "phantom"` for AI assistant in its settings. |
| 23 | +2. [optional] Select some text to pass in context in to manipulate with. |
| 24 | +3. Hit `OpenAI: New Message` or `OpenAI: Chat Model Select` and ask whatever you'd like in popup input pane. |
| 25 | +4. Phantom will appear below the cursor position or the beginning of the selection while the streaming LLM answer occurs. |
| 26 | +5. You can apply actions to the llm prompt, they're quite self descriptive and follows behavior deprecated in buffer commands. |
| 27 | +6. You can hit `ctrl+c` to stop prompting same as with in `panel` mode. |
| 28 | + |
| 29 | +### Stream toggle |
| 30 | + |
| 31 | +You can toggle streaming behavior of a model response with `"stream": false` setting in per assistant basis. That's pretty much it, the default value is `true`. |
| 32 | + |
| 33 | +### Images handling UX improved |
| 34 | + |
| 35 | +Images paths can now be fetched from the clipboard in addition to be extracted from the selection in a given view. It could be either a single image path [and nothing more than that] or a list of such paths separated with a new line, e.g. `/Users/username/Documents/Project/image0.png\n/Users/username/Documents/Project/image1.png`. |
| 36 | + |
| 37 | +Please note the parser that is trying to deduct whether the content of your clipboard is an [list of] image[s] is made by AI and quite fragile, so don't expect too much from it. |
| 38 | + |
| 39 | +### Advertisement logic improvement |
| 40 | + |
| 41 | +Advertisements now appear only when users excessively utilize the plugin, such as by processing too many tokens or sending/receiving an excessive number of messages. |
0 commit comments