Refresh builder runtime visibility
All checks were successful
build / build (push) Successful in 59s

This commit is contained in:
robert
2026-06-08 09:04:23 -03:00
parent e5e75e2ea3
commit e6d159a853
6 changed files with 8 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
name: agent-builder name: agent-builder
version: 0.1.8 version: 0.1.9
entrypoint: agent:AgentBuilder entrypoint: agent:AgentBuilder
description: Generate, test, and deploy new a2a agents from natural language. description: Generate, test, and deploy new a2a agents from natural language.
expose: expose:

View File

@@ -50,7 +50,7 @@ class AgentBuilder(A2AAgent[BuilderConfig, NoAuth]):
"Writes the project into the user's workspace, validates it in a " "Writes the project into the user's workspace, validates it in a "
"sandbox, then ships it via the control plane." "sandbox, then ships it via the control plane."
) )
version = "0.1.8" version = "0.1.9"
config_model = BuilderConfig config_model = BuilderConfig
auth_model = NoAuth auth_model = NoAuth
@@ -147,6 +147,7 @@ class AgentBuilder(A2AAgent[BuilderConfig, NoAuth]):
llm_temperature_mode=creds.temperature_mode, llm_temperature_mode=creds.temperature_mode,
llm_temperature=creds.temperature, llm_temperature=creds.temperature,
llm_extra_body=creds.extra_body, llm_extra_body=creds.extra_body,
llm_metadata=getattr(creds, "metadata", None),
)) ))
user_msg = ( user_msg = (

View File

@@ -39,6 +39,7 @@ class BuilderContext:
llm_temperature_mode: str | None = None llm_temperature_mode: str | None = None
llm_temperature: float | None = None llm_temperature: float | None = None
llm_extra_body: dict[str, Any] | None = None llm_extra_body: dict[str, Any] | None = None
llm_metadata: dict[str, Any] | None = None
SYSTEM_PROMPT = """\ SYSTEM_PROMPT = """\
@@ -332,6 +333,7 @@ def build_agent_builder(ctx: BuilderContext) -> Any:
temperature_mode=ctx.llm_temperature_mode or "default", temperature_mode=ctx.llm_temperature_mode or "default",
temperature=ctx.llm_temperature, temperature=ctx.llm_temperature,
extra_body=dict(ctx.llm_extra_body or {}), extra_body=dict(ctx.llm_extra_body or {}),
metadata=dict(ctx.llm_metadata or {}),
) )
kwargs: dict[str, Any] = { kwargs: dict[str, Any] = {
"tools": tools, "tools": tools,

View File

@@ -34,7 +34,7 @@ if TYPE_CHECKING:
from .config import Settings from .config import Settings
A2A_PACK_MIN_VERSION = "0.1.80" A2A_PACK_MIN_VERSION = "0.1.81"
A2A_PACK_SANDBOX_FALLBACK_VERSION = "0.1.79" A2A_PACK_SANDBOX_FALLBACK_VERSION = "0.1.79"
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)

View File

@@ -1,4 +1,4 @@
a2a-pack>=0.1.80 a2a-pack>=0.1.81
httpx>=0.27 httpx>=0.27
boto3>=1.34 boto3>=1.34
deepagents>=0.5.0 deepagents>=0.5.0

View File

@@ -344,7 +344,7 @@ class TemplateInitTests(unittest.TestCase):
"export PYTHONDONTWRITEBYTECODE=1", "export PYTHONDONTWRITEBYTECODE=1",
str(sandbox.calls[0]["script"]), str(sandbox.calls[0]["script"]),
) )
self.assertIn("a2a-pack>=0.1.80 unavailable", str(sandbox.calls[0]["script"])) self.assertIn("a2a-pack>=0.1.81 unavailable", str(sandbox.calls[0]["script"]))
self.assertIn("a2a-pack==0.1.79", str(sandbox.calls[0]["script"])) self.assertIn("a2a-pack==0.1.79", str(sandbox.calls[0]["script"]))
self.assertEqual(_FakeAsyncClient.posts, []) self.assertEqual(_FakeAsyncClient.posts, [])