ggozad / oterm

a text-based terminal client for Ollama
MIT License
962 stars 57 forks source link

Unable to copy and paste large text (2000+ words) #92

Open nPrevail opened 2 months ago

nPrevail commented 2 months ago

I've been able to copy and paste small amounts of text in Oterm, however, when it comes to copying and pasting large documents, I'm unable to paste large number of characters.

Is there a character limit to how many characters can be messaged in Oterm?

When I run ollama in Konsole ollama run llama3, I have no issue with copying and pasting thousands of words.

ggozad commented 2 months ago

Hey thanks for the report! I am currently on vacation but will look into this as soon as I am back

ggozad commented 1 month ago

Hey there, could you please retry with the latest version? I tried with a document of ~8000 words and it works fine...

nPrevail commented 1 month ago

Is there a character limit to how much you can input? I'm able to go above 10k characters via running ollana in terminal.

But in Oterm, it doesn't seem to allow me to paste more than 10k+ characters.

On Sat, Aug 10, 2024 at 7:07 AM Yiorgis Gozadinos @.***> wrote:

Hey there, could you please retry with the latest version? I tried with a document of ~8000 words and it works fine...

— Reply to this email directly, view it on GitHub https://github.com/ggozad/oterm/issues/92#issuecomment-2281967156, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANYETWZSD7ASKH2QJK62AETZQYNCNAVCNFSM6AAAAABKGJPLCWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBRHE3DOMJVGY . You are receiving this because you authored the thread.Message ID: @.***>

-- Nelson "nPrevail" Nailat (224) 36N-PREV (224) 366-7738 www.nprevail.bandcamp.com www.mixcloud.com/hasi_la_pheeque

"You got to have vision."

nPrevail commented 1 month ago

I checked the versions I'm on and I have the following for Ollama and Oterm:

***@***.***:~]$ ollama --version
ollama version is 0.1.38

***@***.***:~]$ oterm --version
oterm v0.2.8

I'm using Nixos stable, so perhaps that's why I'm on such older versions. Would this affect character count?

On Sat, Aug 10, 2024 at 9:27 AM nPrev @.***> wrote:

Is there a character limit to how much you can input? I'm able to go above 10k characters via running ollana in terminal.

But in Oterm, it doesn't seem to allow me to paste more than 10k+ characters.

On Sat, Aug 10, 2024 at 7:07 AM Yiorgis Gozadinos < @.***> wrote:

Hey there, could you please retry with the latest version? I tried with a document of ~8000 words and it works fine...

— Reply to this email directly, view it on GitHub https://github.com/ggozad/oterm/issues/92#issuecomment-2281967156, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANYETWZSD7ASKH2QJK62AETZQYNCNAVCNFSM6AAAAABKGJPLCWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBRHE3DOMJVGY . You are receiving this because you authored the thread.Message ID: @.***>

-- Nelson "nPrevail" Nailat (224) 36N-PREV (224) 366-7738 www.nprevail.bandcamp.com www.mixcloud.com/hasi_la_pheeque

"You got to have vision."

-- Nelson "nPrevail" Nailat (224) 36N-PREV (224) 366-7738 www.nprevail.bandcamp.com www.mixcloud.com/hasi_la_pheeque

"You got to have vision."

ggozad commented 1 month ago

Potentially yes... There's been quite a few changes in the libraries oterm uses, so you should really try....

ggozad commented 3 weeks ago

Can you please let me know if you are still facing the same problem with oterm > 0.4.0 ?

nPrevail commented 3 weeks ago

I'll try to. Unfortunately, I still use NixOS stable, and the furthest oterm version I have is 0.2.8.

I've never tried unstable, so it may be a minute before I come around to it.

On Tue, Aug 20, 2024 at 2:26 PM Yiorgis Gozadinos @.***> wrote:

Can you please let me know if you are still facing the same problem with oterm > 0.4.0 ?

— Reply to this email directly, view it on GitHub https://github.com/ggozad/oterm/issues/92#issuecomment-2299794492, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANYETW3MNHULL3HLIR4ALULZSOYBFAVCNFSM6AAAAABKGJPLCWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJZG44TINBZGI . You are receiving this because you authored the thread.Message ID: @.***>

-- Nelson "nPrevail" Nailat (224) 36N-PREV (224) 366-7738 www.nprevail.bandcamp.com www.mixcloud.com/hasi_la_pheeque

"You got to have vision."

ggozad commented 3 weeks ago

It might just be easier to create a virtual env and install in that....

ggozad commented 5 hours ago

@nPrevail did you manage running with the latest oterm?