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

PATH #34

Closed MikeyBeez closed 7 months ago

MikeyBeez commented 7 months ago

Thanks for writing this great software. I found that the brew installation doesn't set the path to the oatmeal executable. Usually brew will tell the user what path to set. I copied oatmeal into usr/local/bin, but that might not be ideal. Cheers!

dustinblackman commented 7 months ago

Thanks bud, I appreciate it!

It's been a long time since I've had brew recommend me to modify my path to install a new app. I have some memory of it only asking to do when it was a large application with a handful of binaries.

In recent versions of Homebrew, you set eval "$(homebrew/bin/brew shellenv)" in your shell configuration, or put /opt/homebrew/bin in your path where brew symlinks all binaries installed. I've tested my formula a few times every couple versions and haven't had a problem with it populating in PATH.

I believe these changes were part of the big rework they had done in the last year. Maybe your version of brew is older?

MikeyBeez commented 7 months ago

Thanks. I've been having trouble with scrolling; so I pointed the path to /opt/homebrew/Cellar/oatmeal/0.12.1/bin/oatmeal. Unfortunately, it didn't fix the scrolling in long oatmeal responses within neovim. I probably have something screwed-up on my system because I make many changes everyday.

dustinblackman commented 7 months ago

Odd you had to do that with your PATH, as you said it may just be something custom you've setup. :)

For scrolling you have to make sure you're in insert mode within the terminal window that holds Oatmeal, then it will pickup the hot keys and do what you'd expect.

dustinblackman commented 7 months ago

Looks like you're all worked out. Gonna close this. Thanks!