What's Changed
- Added new option
—md
and—no-md
to disable or enable markdown output. - Added new config variable
PRETTIFY_MARKDOWN
to disable or enable markdown output by default. - Added new config variable
USE_LITELLM
to enforce usage of LiteLLM library.
OpenAI and LiteLLM
Because LiteLLM facilitates requests for numerous other LLM backends, it is heavy to import, adding 1-2 seconds of runtime. ShellGPT, by default will use OpenAI's library, which is suitable for most users. Optionally, ShellGPT can be installed with LiteLLM by running pip install shell-gpt[litellm]
. To enforce LiteLLM usage set USE_LITELLM
to true in the config file ~/.config/shell_gpt/.sgptrc
.