fix: allow custom agent scaffolds
All checks were successful
build / build (push) Successful in 27s

This commit is contained in:
robert
2026-05-17 19:12:58 -03:00
parent 2a6227b8ec
commit 1f3f8349df
3 changed files with 4 additions and 100 deletions

View File

@@ -4,8 +4,6 @@ WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
RUN python -c "import importlib.resources as r, a2a_pack; t = r.files('a2a_pack.cli.templates').joinpath('agent.py.tmpl').read_text(); missing = [m for m in ('LLMProvisioning.CALLER_PROVIDED', 'ctx.llm', 'ctx.workspace_backend()', 'create_deep_agent', 'wrap_model_call') if m not in t]; assert not missing, f'a2a-pack {a2a_pack.__version__} has stale init template; missing {missing}'"
COPY . .
ENV A2A_ENTRYPOINT=agent:AgentBuilder