mirror of
https://github.com/0xrsydn/nix-hermes-agent.git
synced 2026-08-07 00:53:52 +00:00
fix: complete hermes-agent 0.16.0 pin update
This commit is contained in:
parent
955cc61f82
commit
35817ccbf4
3 changed files with 14 additions and 6 deletions
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
echo "=== Checking key Python modules ==="
|
||||
SITE=${hermes-agent}/lib/python3.12/site-packages
|
||||
for mod in agent cli.py gateway cron tools run_agent.py model_tools.py acp_adapter honcho_integration; do
|
||||
for mod in agent cli.py gateway cron tools run_agent.py model_tools.py acp_adapter; do
|
||||
if [ ! -e "$SITE/$mod" ] && [ ! -e "$SITE/$mod.py" ]; then
|
||||
echo "FAIL: Missing module $mod"
|
||||
exit 1
|
||||
|
|
@ -94,7 +94,9 @@
|
|||
export HOME=$(mktemp -d)
|
||||
|
||||
echo "=== Running hermes doctor ==="
|
||||
${hermes-agent}/bin/hermes doctor 2>&1 | grep -q "Python" || (echo "FAIL: doctor"; exit 1)
|
||||
output=$(${hermes-agent}/bin/hermes doctor 2>&1 || true)
|
||||
printf '%s\n' "$output"
|
||||
printf '%s\n' "$output" | grep -q "Python" || (echo "FAIL: doctor"; exit 1)
|
||||
echo "PASS: Doctor runs successfully"
|
||||
|
||||
mkdir -p $out
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue