feat(ai): indicate models to use in config file
This commit is contained in:
parent
d19dd085f5
commit
a4a88ec758
4 changed files with 15 additions and 5 deletions
|
@ -1,4 +1,7 @@
|
|||
model=brainstorm:8b
|
||||
# Load config
|
||||
. ${HOME}/ayo.conf
|
||||
|
||||
model=$brainstorm
|
||||
|
||||
if ! [ "$2" = "" ]; then
|
||||
if [ "$2" = "sleep" ]; then
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
model=coder:30b
|
||||
# Load config
|
||||
. ${HOME}/ayo.conf
|
||||
|
||||
model=$coder
|
||||
|
||||
if ! [ "$2" = "" ]; then
|
||||
if [ "$2" = "sleep" ]; then
|
||||
|
|
6
ai.sh
6
ai.sh
|
@ -1,4 +1,7 @@
|
|||
model=helper:8b
|
||||
# Load config
|
||||
. ${HOME}/ayo.conf
|
||||
|
||||
model=$helper
|
||||
|
||||
if ! [ "$2" = "" ]; then
|
||||
if [ "$2" = "open-webui" ]; then
|
||||
|
@ -6,7 +9,6 @@ if ! [ "$2" = "" ]; then
|
|||
open-webui serve
|
||||
python --version
|
||||
deactivate
|
||||
|
||||
elif [ "$2" = "wake" ]; then
|
||||
. $HOME/llm_env/bin/activate
|
||||
|
||||
|
|
|
@ -2,5 +2,7 @@ notes_dir="${HOME}/Notes"
|
|||
tasks_dir="${HOME}/Notes/Tasks"
|
||||
archive_dir="${HOME}/Notes/Archive"
|
||||
scripts_dir="${HOME}/Projects/scripts"
|
||||
sys_prompt=$(cat ${HOME}/sys-prompt.sh) # shared system prompt for LLMs (i.e., ai.sh & ai-coder.sh)
|
||||
editor="vim"
|
||||
coder="coder:30b"
|
||||
brainstorm="brainstorm:8b"
|
||||
helper="helper:8b"
|
||||
|
|
Loading…
Reference in a new issue