From b9909d27b3f98a6fa93da18f64cba05ac001a5ee Mon Sep 17 00:00:00 2001 From: thomasabishop Date: Fri, 1 Mar 2024 16:31:29 +0000 Subject: [PATCH] gpt: install gpterm and set-up creds --- gpterm/config.ini | 14 ++++++++++++++ zsh/zshrc | 3 +++ 2 files changed, 17 insertions(+) create mode 100644 gpterm/config.ini diff --git a/gpterm/config.ini b/gpterm/config.ini new file mode 100644 index 0000000..9744941 --- /dev/null +++ b/gpterm/config.ini @@ -0,0 +1,14 @@ +[SELECTED_CONFIG] +configname = BASE_CONFIG + +[BASE_CONFIG] +# modelname = gpt-3.5-turbo +modelname = gpt-4 +temperature = 1 +presencepenalty = 0 +frequencypenalty = 0 +systemmessage = Hi Thomas, how can I help? +commandinitiator = ! +savepath = /home/thomas/gpt/saves +codetheme = gruvbox-dark + diff --git a/zsh/zshrc b/zsh/zshrc index 2265c86..ee55259 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -32,4 +32,7 @@ export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init --path)" +export PATH="$HOME/.local/bin:$PATH" + +export OPENAI_API_KEY=${OPENAI_API_KEY} eval "$(starship init zsh)"