Rebuild agent-builder on a2a-pack 0.1.51
All checks were successful
build / build (push) Successful in 16s

This commit is contained in:
robert
2026-06-02 14:04:34 -03:00
parent 610ccd9401
commit 08195a46f8
4 changed files with 27 additions and 3 deletions

View File

@@ -14,6 +14,7 @@ from agent_builder.builder import (
from agent_builder.config import Settings
from agent_builder.tools import A2A_PACK_MIN_VERSION
from deepagents.backends import StateBackend
from agent import _build_failure_error
class BuilderPromptTests(unittest.TestCase):
@@ -132,6 +133,13 @@ class BuilderPromptTests(unittest.TestCase):
for skill_name in expected:
self.assertIn(f"{BUILDER_SKILL_SOURCE}{skill_name}/", paths)
def test_build_failure_error_classifies_budget_exhaustion(self) -> None:
self.assertEqual(
_build_failure_error(RuntimeError("Budget has been exceeded! Key=abc")),
"LLM budget exceeded before deployment; retry with a larger budget "
"or a smaller build scope",
)
def test_project_backend_keeps_deepagents_artifacts_inside_project_grant(self) -> None:
backend = _build_project_backend(
BuilderContext(