FlowFuse / node-red-function-gpt

A Node-RED node that adds "Ask ChatGPT" option to a duplicate of the built-in function node.
Apache License 2.0
29 stars 2 forks source link

Insert at Cursor #11

Open joepavitt opened 1 year ago

joepavitt commented 1 year ago

Description

Currently, the response from the API populates the entire active tab contents, overwriting anything already present. It would be nice to have a toggle option alongside the "Ask ChatGPT" button that permits the response to "insert", rather than replace. This should insert at the position of the active cursor, or at least, the last place the cursor was selected in that text box, given that browser focus will be in the CHatGT text input, or on the "Ask ChatGPT" button.

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate