dustinblackman / oatmeal

Terminal UI to chat with large language models (LLM) using different model backends, and integrations with your favourite editors!
https://dustinblackman.com/posts/oatmeal/
MIT License
477 stars 23 forks source link

Decoding error from responce body #74

Closed Shadowfax6482 closed 3 months ago

Shadowfax6482 commented 3 months ago

Persisted after a reboot. Ran into this and am not sure why I'm hitting this issue. If you want more logs im more than happy to oblige. Thank you for you time in advance.

DEBUG oatmeal copy & paste:

RUST_BACKTRACE=1 ./oatmeal chat --ollama-url=http://100.83.149.64:11434/
Oh no! Oatmeal has failed with the following app version and error.

Version: 0.13.0
Commit: e8181b2
Error: error decoding response body: invalid type: integer `404`, expected struct ModelListResponse at line 1 column 3

   0: <unknown>
   1: <unknown>
   2: <unknown>
   3: <unknown>
   4: <unknown>
   5: <unknown>
   6: <unknown>
   7: <unknown>
   8: __libc_start_main
   9: <unknown>
Shadowfax6482 commented 3 months ago

Oatmeal throws this panic when --ollama-url=http://10.0.0.10:11434 ends in a slash. / User error.