This commit is contained in:
16
.agents/plans/iter-03-kab-layout/steps/step-1.md
Normal file
16
.agents/plans/iter-03-kab-layout/steps/step-1.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# Step 1 — Implementation Detail
|
||||
|
||||
1. `Dockerfile`: the start command became the A2A server; the image sets `A2A_HOST=0.0.0.0` and `A2A_PORT=8080`; only port 8080 is exposed.
|
||||
2. The health check reads `A2A_PORT` and allows 60 seconds to start, because `/health` answers only after the provider bundle and MCP catalogs load.
|
||||
3. `README.md`: server section, start command, container example (now passing `GOOGLE_GENAI_USE_VERTEXAI`, `GOOGLE_CLOUD_PROJECT`, `GOOGLE_CLOUD_LOCATION`, `A2A_PUBLIC_URL`) and test calls.
|
||||
|
||||
Verified: built with podman and ran the image with `MCP_ENABLED=false`; `/health` and the agent card returned 200 and process 1 was the server.
|
||||
|
||||
Consequences for callers:
|
||||
|
||||
- `/card`, `/validate` and `/sessions/{session_id}` are no longer served. The card is at `/.well-known/agent-card.json`.
|
||||
- `/generate` now runs a full pre-approved Execution with real models, about 45 minutes in the evaluation runs.
|
||||
- Without `A2A_PUBLIC_URL` the card advertises `http://0.0.0.0:8080/a2a`.
|
||||
- Podman's default image format ignores `HEALTHCHECK`.
|
||||
|
||||
Not verified: a full Execution with real models and MCP servers inside the container.
|
||||
Reference in New Issue
Block a user