This commit is contained in:
@@ -64,7 +64,13 @@ echo "[5/5] Typed smoke test"
|
||||
read -r -p "Type a test prompt (default: say hello): " PROMPT
|
||||
PROMPT="${PROMPT:-say hello}"
|
||||
if [[ "${DAEMON_BUS_READY}" == true ]]; then
|
||||
busctl --user call io.qvac.Jarvis /io/qvac/Jarvis io.qvac.Jarvis.Session Ask s "${PROMPT}"
|
||||
SMOKE_TIMEOUT="${JARVIS_SMOKE_TIMEOUT:-180}"
|
||||
if busctl --timeout="${SMOKE_TIMEOUT}" --user call io.qvac.Jarvis /io/qvac/Jarvis io.qvac.Jarvis.Session Ask s "${PROMPT}"; then
|
||||
echo "Typed smoke test completed."
|
||||
else
|
||||
echo "Typed smoke test did not finish within ${SMOKE_TIMEOUT}s; the daemon is still running."
|
||||
echo "Retry after model warmup with: busctl --user call io.qvac.Jarvis /io/qvac/Jarvis io.qvac.Jarvis.Session Ask s \"${PROMPT}\""
|
||||
fi
|
||||
else
|
||||
echo "Daemon is not available on the session D-Bus; saved setup and skipped live prompt."
|
||||
echo "Inspect with: systemctl --user status jarvisd.service"
|
||||
|
||||
Reference in New Issue
Block a user