llm icon indicating copy to clipboard operation
llm copied to clipboard

Bad file descriptor

Open tkaufmann opened this issue 8 months ago • 1 comments

Hi,

I installed llm via Homebrew, it's v0.25 and gpt4all v0.4.

I keep getting the error:

llm 'Wer bist du, wie heißt du und wo wohnst du?' --model Nous-Hermes-2-Mistral-7B-DPO

Ich bin ein künstlicher Intelligenz-Assistent und gehe nicht auf persönliche Informationen ein. Ich bin da, um Ihnen zu helfen und Antworten auf Ihre Fragen zu geben. Mein Wohnort ist in Ihrem Kopf oder an einem Serverzentrum, je nachdem wie Sie mich verwendet haben.Exception ignored in: <_io.TextIOWrapper name=6 mode='w' encoding='UTF-8'>
Traceback (most recent call last):
  File "/opt/homebrew/Cellar/llm/0.25/libexec/lib/python3.13/site-packages/llm_gpt4all.py", line 294, in __exit__
    sys.stderr = self.original_stderr
OSError: [Errno 9] Bad file descriptor

Is there anything I can do do about this?

tkaufmann avatar May 06 '25 00:05 tkaufmann

Duplicate of #635 perhaps.

MatthewHannigan avatar May 27 '25 02:05 MatthewHannigan