-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get OS and prefill shell with user commands (#42)
- [X] Append command to user bash history and prefill shell. Even though we can append command to bash history, it does not show up in the reverse-i-search without sourcing the shell. This is because the child process cannot modify the environment of the parent caller process [stack-overflow reference](https://stackoverflow.com/questions/3661566/python-source-home-bashrc-with-os-system). So, instead will will pre-fill the shell command with the selected command. - [X] Get OS environment - [X] Refactor unique ID generation - mostly cosmetic - [x] Update server to route LLM based on os environment - [x] Test on Ubuntu Linux - [x] Test on Darwin (Mac OS) - [ ] Test on WSL - [ ] Test on Windows Powershell Thoughts, suggestions, and reviews welcome! Relevant to #39 and #12
- Loading branch information
1 parent
d566ac3
commit 386153a
Showing
2 changed files
with
75 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
|
||
setup( | ||
name="gorilla-cli", | ||
version="0.0.10", | ||
version="0.0.11", | ||
url="https://github.com/gorilla-llm/gorilla-cli", | ||
author="Shishir Patil, Tianjun Zhang", | ||
author_email="[email protected], [email protected]", | ||
|