1.1.0
main_h264_high_bitrate.mov
OpenAI Library
ShellGPT has now integrated the OpenAI Python library for handling API requests. This integration simplifies the development and maintenance of the ShellGPT code base. Additionally, it enhances user experience by providing more user-friendly error messages, complete with descriptions and potential solutions.
Function Calling
Function calls is a powerful feature OpenAI provides. It allows LLM to execute functions in your system, which can be used to accomplish a variety of tasks. ShellGPT has a convenient way to define functions and use them. To install default functions run:
sgpt --install-functions
This will add a function for LLM to execute shell commands and to execute Apple Scripts (on macOS). More details in demo video and README.md.
Options
- Shortcut option
-c
for—code
. - Shortcut option
-lc
for--list-chats
- Shortcut option
-lr
for--list-roles
- New
—functions
option, enables/disable function calling. - New
—install-functions
option, installs default functions.
Config
- New config variable
OPENAI_FUNCTIONS_PATH
- New config variable
OPENAI_USE_FUNCTIONS
- New config variable
SHOW_FUNCTIONS_OUTPUT
Minor Changes
- Code optimisation
- Cache optimisations for function calls