mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2025-11-02 00:13:20 +00:00
Home Assistant mode
This commit is contained in:
@@ -267,6 +267,13 @@ function set_regex_agent() {
|
||||
format_for_cli
|
||||
}
|
||||
|
||||
# Set chat to help with Home Assistant.
|
||||
function set_home_assistant_agent() {
|
||||
name_agent
|
||||
system_prompt+=" ${AGENT_NAME} assists users with Home Assistant programming."
|
||||
system_prompt+=" Templating is done with Jinja2."
|
||||
}
|
||||
|
||||
#===============================================================================
|
||||
|
||||
# Get the first available model from a given list.
|
||||
@@ -900,6 +907,12 @@ for i in "$@"; do
|
||||
cmd=chat_loop
|
||||
rich_format_mode=false
|
||||
;;
|
||||
-ha|--home-assistant)
|
||||
set_coding_model
|
||||
set_home_assistant_agent
|
||||
cmd=chat_loop
|
||||
rich_format_mode=false
|
||||
;;
|
||||
# Other
|
||||
-*|--*)
|
||||
echo "Unknown option ${i}"
|
||||
|
||||
@@ -46,11 +46,13 @@ alias pop='git stash pop'
|
||||
# AquaAI
|
||||
export AQUAAI_PATH='~/bin/aquaai.sh'
|
||||
alias q=${AQUAAI_PATH}
|
||||
alias qb="${AQUAAI_PATH} --bash"
|
||||
alias qc="${AQUAAI_PATH} --cli"
|
||||
alias qg="${AQUAAI_PATH} --git"
|
||||
alias cr="${AQUAAI_PATH} --code-review"
|
||||
export AQUAAI_DEFAULT_MODEL='qwen2.5:1.5b'
|
||||
export AQUAAI_CODING_MODEL='qwen2.5:3b'
|
||||
alias qr="${AQUAAI_PATH} --code-review"
|
||||
alias qa="${AQUAAI_PATH} --home-assistant"
|
||||
export AQUAAI_DEFAULT_MODEL='hf.co/unsloth/Qwen3-4B-Instruct-2507-GGUF:Q4_K_M'
|
||||
export AQUAAI_CODING_MODEL='hf.co/unsloth/Qwen3-4B-Instruct-2507-GGUF:Q4_K_M'
|
||||
export AQUAAI_RICH_FORMAT_MODE=true
|
||||
export AQUAAI_KEY
|
||||
|
||||
|
||||
Reference in New Issue
Block a user