Assistant confirms a command from the values it set, without a second round

run_turn takes answer_tools: false ends the turn once the tools have
answered. The assistant node uses it and says what was set ("Kitchen light
off, living room light off."), which saves one model round, about 1.1 s on
the P100. A turn without a call still streams the model's own words.

rebuild-frontend keeps the running stack's FRONTEND_HOST, so the token
issuer no longer flips between the LAN address and app.localhost.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ljdk7nDaguh9Uhi3zhcSjn
This commit is contained in:
Melvin Strobl
2026-10-20 08:26:14 +02:00
co-authored by Claude Opus 5.5
parent 75e257d9e4
commit 5235ac59c2
5 changed files with 59 additions and 28 deletions
+5 -2
View File
@@ -94,13 +94,16 @@ dev-lan: ## Same, plus the app on http://<host-ip>:$(APP_PORT) (no DNS needed)
# come off the *running* stack rather than from a file, so the rebuilt
# container keeps the hostname and, on a LAN stack, the published port it was
# started with. A published host port is how the lan overlay is recognised,
# because it is the thing only that overlay adds.
# because it is the thing only that overlay adds. Its address is kept too,
# since it is the issuer worker and agent tokens were signed for.
rebuild-frontend: ## Rebuild the app image and restart it (after a UI change)
@domain=$$(docker inspect fluksio-api 2>/dev/null \
| grep -o 'Host(`app\.[^`]*`)' | head -1 | sed 's/Host(`app\.//;s/`)//'); \
port=$$(docker inspect fluksio-api \
--format '{{range $$p, $$c := .NetworkSettings.Ports}}{{range $$c}}{{.HostPort}} {{end}}{{end}}' \
2>/dev/null | awk '{print $$1}'); \
lan=$$(docker inspect fluksio-api --format '{{range .Config.Env}}{{println .}}{{end}}' \
2>/dev/null | sed -n 's/^FRONTEND_HOST=//p'); \
if [ -n "$$port" ]; then \
echo " lan stack detected (published on $$port) — keeping compose.lan.yml"; \
compose="$(COMPOSE_LAN)"; \
@@ -108,7 +111,7 @@ rebuild-frontend: ## Rebuild the app image and restart it (after a UI change)
compose="$(COMPOSE_LOCAL)"; \
fi; \
DOMAIN=$${domain:-$$DOMAIN} ENVIRONMENT=$${ENVIRONMENT:-local} \
APP_PORT=$${port:-$(APP_PORT)} \
APP_PORT=$${port:-$(APP_PORT)} LAN_URL=$$lan \
$$compose up --build -d backend
up: ## Start the production stack