karthink / gptel

A simple LLM client for Emacs
GNU General Public License v3.0
1.64k stars 151 forks source link

GPTel entering text after the cursor #391

Closed motaatmo closed 2 months ago

motaatmo commented 2 months ago

Hi,

when I'm using GPTel in the dedicated buffer (i.e. as a chat interface), the model response ends up after the cursor, so I have to move to the end of the file to continue.

The behavior is (I just entered "Test" and pressed C-c ret):


### Test█

Test received! How can I assist you today?

### 

What I want is this:


### Test

Test received! How can I assist you today?

### █

Greetings!

karthink commented 2 months ago

Please see the FAQ in the Readme.

On Mon, Sep 23, 2024, 1:38 AM motaatmo @.***> wrote:

Hi,

when I'm using GPTel in the dedicated buffer (i.e. as a chat interface), the model response ends up after the cursor, so I have to move to the end of the file to continue.

The behavior is (I just entered "Test" and pressed C-c ret):

Test█

Test received! How can I assist you today?

What I want is this:

Test

Test received! How can I assist you today?

Greetings!

— Reply to this email directly, view it on GitHub https://github.com/karthink/gptel/issues/391, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACBVOLHE262T3ZDJJVQ5Q4DZX7HPHAVCNFSM6AAAAABOVR2FYGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU2DCOJUHAZDEMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

motaatmo commented 2 months ago

Ah, sorry! I tried to find something like this in the Readme, but somehow I failed... probably because I used the wrong search terms.

karthink @.***> writes:

Please see the FAQ in the Readme.

On Mon, Sep 23, 2024, 1:38 AM motaatmo @.***> wrote:

Hi,

when I'm using GPTel in the dedicated buffer (i.e. as a chat interface), the model response ends up after the cursor, so I have to move to the end of the file to continue.

The behavior is (I just entered "Test" and pressed C-c ret):

Test█

Test received! How can I assist you today?

What I want is this:

Test

Test received! How can I assist you today?

Greetings!

— Reply to this email directly, view it on GitHub https://github.com/karthink/gptel/issues/391, or unsubscribe

https://github.com/notifications/unsubscribe-auth/ACBVOLHE262T3ZDJJVQ5Q4DZX7HPHAVCNFSM6AAAAABOVR2FYGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU2DCOJUHAZDEMQ

. You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

karthink commented 2 months ago

No worries.

For anyone else who landed here looking for this, the way to do it is described in the Readme FAQ.