Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on MacOS with OMZSH shell #11

Closed
kcrommett opened this issue Apr 11, 2024 · 8 comments
Closed

Not working on MacOS with OMZSH shell #11

kcrommett opened this issue Apr 11, 2024 · 8 comments

Comments

@kcrommett
Copy link

llm works fine, but llm cmd will not return any responses on my M3 MacOS environment.

I am running OMZSH with a fairly custom shell, but I run the same shell config on my ubuntu boxes and llm cmd works fine there. When I run an 'llm cmd' command, nothing is returned at all, no errors. But it does hang at an interactive shell- i.e., if I type a command and enter it at that 'hung' shell, it doesn't just go into the shell buffer, it actually tries to execute. So it seems like it's not an issue running the command itself, it's returning the response to the shell input is where it gets stuck.

That being said, these requests are also not show in 'llm logs'. I am not sure exactly what that means since it could possible be written to only log after a response is returned.

@nkkko
Copy link
Contributor

nkkko commented Apr 11, 2024

I have the same exact issue on macos with oh-my-zsh, and not showing in llm logs. "llm" runs fine on itself. Don't know how to debug it properly more than this?

@nkkko
Copy link
Contributor

nkkko commented Apr 11, 2024

Created PR here #12

@nicole-brewer
Copy link

nicole-brewer commented Jul 5, 2024

I macos/zsh as well. As suggested in #12, I used

llm uninstall llm-cmd
llm install https://github.com/nkkko/llm-cmd/archive/b5ff9c2a970720d57ecd3622bd86d2d99591838b.zip

to temporarily fix this issue. Much appreciated @nkkko! This plugin is the number one reason I'm using llm in the first place. So helpful

@creativecoder
Copy link

I also experienced this issue after installing llm-cmd on a macOS machine. The workaround above solved it for now.

But it would be great to get #12 merged so the workaround isn't needed.

@levity
Copy link

levity commented Jul 22, 2024

I macos/zsh as well. As suggested in #12, I used

llm uninstall llm-cmd
llm install https://github.com/nkkko/llm-cmd/archive/b5ff9c2a970720d57ecd3622bd86d2d99591838b.zip

to temporarily fix this issue. Much appreciated @nkkko! This plugin is the number one reason I'm using llm in the first place. So helpful

This also fixes hanging on fish shell.

@jpsala
Copy link

jpsala commented Jul 26, 2024

llm install https://github.com/nkkko/llm-cmd/archive/b5ff9c2a970720d57ecd3622bd86d2d99591838b.zip
It's working now for me, using oh my posh on win11
Thank you!

@britt-mongo
Copy link

I encountered the same issue. The workaround worked though. @simonw please accept the pull request above (or fix it)

@simonw
Copy link
Owner

simonw commented Sep 9, 2024

Fixed by this PR, about to release it:

@simonw simonw closed this as completed Sep 9, 2024
simonw added a commit that referenced this issue Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants