gorilla-llm / gorilla-cli

LLMs for your CLI
https://gorilla.cs.berkeley.edu/
Apache License 2.0
1.22k stars 73 forks source link

Problem with generating userid: Command '['git', 'config', '--global', 'user.email']' returned non-zero exit status 1. #58

Open asandez1 opened 2 months ago

asandez1 commented 2 months ago

After installing Gorilla, I attempted to generate a file, but encountered the following error:

Unable to generate userid: Command '['git', 'config', '--global', 'user.email']' returned non-zero exit status 1

Solution: Upon investigation, it was found that the error was caused by the absence of a configured user email in the global Git settings. To resolve this, I exported the user_id variable, which enabled Gorilla to function correctly.