Adopting new function calling format with OpenAI tools payload, also this also enables function calling on Groq and other non-openai models when using ShellGPT with LiteLLM.
Docker container improvements: added new config variables to set custom Shell and OS for shell command suggestions. You can specify any Shell/OS for generating suggestions in ~/.config/shell_gpt/.sgptrc or using environment variables. Note that in order to change existing OS and Shell you need to delete all default roles in ~/.config/shell_gpt/roles, and then relaunch sgpt with any prompt.
Release notes:
~/.config/shell_gpt/roles
, and then relaunchsgpt
with any prompt.