feat(agent): hierarchical executor with path resolve, runtime probe, quiet UI
Make Zed Agent closer to Cursor: deterministic DevOps path index, live Traefik port probe before blind edits, stop-after-edit, and quieter Russian progress.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
ssh -o BatchMode=yes eventhub-ift bash -s <<'REMOTE'
|
||||
set -euo pipefail
|
||||
cd /opt/ai-router-stack
|
||||
set -a; source .env; set +a
|
||||
echo "== Spend 15m =="
|
||||
PG=$(docker ps -q -f name=ai-router_postgres | head -1)
|
||||
docker exec -e PGPASSWORD="$POSTGRES_PASSWORD" "$PG" \
|
||||
psql -U "${POSTGRES_USER:-litellm}" -d "${POSTGRES_DB:-litellm}" -c "
|
||||
SELECT \"startTime\", status, model, total_tokens, completion_tokens,
|
||||
coalesce(\"request_duration_ms\",0) AS ms,
|
||||
left(coalesce(metadata->'error_information'->>'error_message',''), 100) AS er
|
||||
FROM \"LiteLLM_SpendLogs\"
|
||||
WHERE \"startTime\" >= now() - interval '20 minutes'
|
||||
ORDER BY \"startTime\" DESC LIMIT 25;
|
||||
"
|
||||
echo "== Router =="
|
||||
docker service logs --since 20m --raw ai-router_router 2>&1 \
|
||||
| grep -iE 'path_index|path_resolve|hierarchical_agent phase|executor result|408|escalate|mid-loop|rewrite|kickstart|loadtest|dynamic_conf' \
|
||||
| tail -60
|
||||
REMOTE
|
||||
Reference in New Issue
Block a user