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:
+26
-9
@@ -42,8 +42,16 @@ secrets:
|
||||
external: true
|
||||
groq_api_key:
|
||||
external: true
|
||||
xai_api_key:
|
||||
external: true
|
||||
gemini_api_key:
|
||||
external: true
|
||||
together_api_key:
|
||||
external: true
|
||||
openrouter_api_key:
|
||||
external: true
|
||||
anthropic_api_key:
|
||||
external: true
|
||||
gigachat_credentials:
|
||||
external: true
|
||||
vless_conf:
|
||||
@@ -95,7 +103,7 @@ services:
|
||||
retries: 3
|
||||
|
||||
litellm:
|
||||
image: ${LITELLM_IMAGE:-ghcr.io/berriai/litellm:main-v1.96.0-stable}
|
||||
image: ${LITELLM_IMAGE:-ghcr.io/berriai/litellm:v1.95.0}
|
||||
entrypoint: ["/bin/sh", "/entrypoint/litellm-entrypoint.sh"]
|
||||
configs:
|
||||
- source: litellm_config
|
||||
@@ -111,7 +119,7 @@ services:
|
||||
USE_AIOHTTP_TRANSPORT: ${USE_AIOHTTP_TRANSPORT:-False}
|
||||
HTTP_PROXY: ${HTTP_PROXY:-}
|
||||
HTTPS_PROXY: ${HTTPS_PROXY:-}
|
||||
NO_PROXY: ${NO_PROXY:-localhost,127.0.0.1,api.novita.ai,novita.ai}
|
||||
NO_PROXY: ${NO_PROXY:-localhost,127.0.0.1,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,api.novita.ai,novita.ai,api.groq.com,groq.com,generativelanguage.googleapis.com,ngw.devices.sberbank.ru,gigachat.devices.sberbank.ru,git.sabilin.com,*.ift.calentiq.com,ift.calentiq.com,*.ift.eventhub.local,*.eventhub.local}
|
||||
POSTGRES_USER: ${POSTGRES_USER:-litellm}
|
||||
POSTGRES_DB: ${POSTGRES_DB:-litellm}
|
||||
secrets:
|
||||
@@ -120,7 +128,11 @@ services:
|
||||
- litellm_salt_key
|
||||
- postgres_password
|
||||
- groq_api_key
|
||||
- xai_api_key
|
||||
- gemini_api_key
|
||||
- together_api_key
|
||||
- openrouter_api_key
|
||||
- anthropic_api_key
|
||||
- gigachat_credentials
|
||||
networks:
|
||||
ai-internal:
|
||||
@@ -136,16 +148,16 @@ services:
|
||||
delay: 5s
|
||||
update_config:
|
||||
parallelism: 1
|
||||
failure_action: rollback
|
||||
failure_action: pause
|
||||
placement:
|
||||
constraints:
|
||||
- node.role == manager
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O- http://127.0.0.1:4000/health/liveliness || exit 1"]
|
||||
test: ["CMD-SHELL", "python -c \"import urllib.request; urllib.request.urlopen('http://127.0.0.1:4000/health/liveliness', timeout=5)\" || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 60s
|
||||
timeout: 15s
|
||||
retries: 5
|
||||
start_period: 120s
|
||||
|
||||
router:
|
||||
image: ${ROUTER_IMAGE:-git.sabilin.com/eventhub/ai-router-gateway:ift}
|
||||
@@ -195,7 +207,12 @@ services:
|
||||
- source: vless_conf
|
||||
target: /app/vless.conf
|
||||
networks:
|
||||
- ai-internal
|
||||
ai-internal:
|
||||
aliases:
|
||||
- vless-proxy
|
||||
eventhub-ift:
|
||||
aliases:
|
||||
- vless-proxy
|
||||
deploy:
|
||||
replicas: 0
|
||||
restart_policy:
|
||||
@@ -206,7 +223,7 @@ services:
|
||||
constraints:
|
||||
- node.role == manager
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O- http://127.0.0.1:8080 || exit 1"]
|
||||
test: ["CMD-SHELL", "pgrep Xray >/dev/null || exit 1"]
|
||||
interval: 15s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
Reference in New Issue
Block a user