fix: give Holmes k8s doctor enough triage steps
Homelab Main / validate (push) Waiting to run Details
Homelab Main / running-update (push) Blocked by required conditions Details
Homelab Main / debian-ops (push) Blocked by required conditions Details

This commit is contained in:
juvenal.diaz 2026-10-08 18:27:06 -06:00
parent 344a618237
commit 913b94f377
1 changed files with 4 additions and 4 deletions

View File

@ -2080,16 +2080,16 @@ doctor_k8s() {
local problem_pods_count=0
local holmes_status=0
local holmes_bin=""
local holmes_timeout="${LAB_HOLMES_TRIAGE_TIMEOUT_SECONDS:-180}"
local holmes_timeout="${LAB_HOLMES_TRIAGE_TIMEOUT_SECONDS:-360}"
local prompt_file
local holmes_stdout
local holmes_stderr
local holmes_combined
local holmes_config="${LAB_HOLMES_CONFIG_FILE:-/data/homelab-ai-stack/holmes-config.yaml}"
local holmes_api_key="${LAB_AI_GATEWAY_API_KEY:-${OPENAI_API_KEY:-sk_omniroute}}"
local holmes_model="${LAB_HOLMES_MODEL:-${AI_STACK_AGENT_FAST_MODEL:-agent-fast-free}}"
local holmes_model="${LAB_HOLMES_MODEL:-${AI_STACK_AGENT_SMART_MODEL:-${AI_STACK_AGENT_FAST_MODEL:-agent-smart-free}}}"
local holmes_fast_model="${LAB_HOLMES_FAST_MODEL:-${AI_STACK_AGENT_FAST_MODEL:-agent-fast-free}}"
local holmes_max_steps="${LAB_HOLMES_MAX_STEPS:-6}"
local holmes_max_steps="${LAB_HOLMES_MAX_STEPS:-12}"
local arg
require_debian_server "doctor-k8s"
@ -2136,7 +2136,7 @@ EOF
# shellcheck disable=SC1090
. "${tools_env_file}"
holmes_api_key="${OPENAI_API_KEY:-${LAB_AI_GATEWAY_API_KEY:-${holmes_api_key}}}"
holmes_model="${LAB_HOLMES_MODEL:-${AI_STACK_AGENT_FAST_MODEL:-${holmes_model}}}"
holmes_model="${LAB_HOLMES_MODEL:-${AI_STACK_AGENT_SMART_MODEL:-${AI_STACK_AGENT_FAST_MODEL:-${holmes_model}}}}"
holmes_fast_model="${LAB_HOLMES_FAST_MODEL:-${AI_STACK_AGENT_FAST_MODEL:-${holmes_fast_model}}}"
fi
if [[ "${holmes_model}" != */* ]]; then