fix: align agent-builder with longer pack timeouts
All checks were successful
build / build (push) Successful in 27s
All checks were successful
build / build (push) Successful in 27s
This commit is contained in:
@@ -21,6 +21,15 @@ class BuilderPromptTests(unittest.TestCase):
|
||||
"config={\"recursion_limit\": DEEPAGENTS_RECURSION_LIMIT}",
|
||||
agent_source,
|
||||
)
|
||||
self.assertIn("stream=True", agent_source)
|
||||
|
||||
def test_builder_defaults_raise_timeout_budget(self) -> None:
|
||||
config_source = Path(__file__).resolve().parents[1].joinpath(
|
||||
"agent_builder/config.py"
|
||||
).read_text()
|
||||
|
||||
self.assertIn('sandbox_timeout_s=int(os.environ.get("SANDBOX_TIMEOUT_S", "1200"))', config_source)
|
||||
self.assertIn('deploy_wait_timeout_s=int(os.environ.get("DEPLOY_WAIT_TIMEOUT_S", "900"))', config_source)
|
||||
|
||||
def test_prompt_requires_resource_mirror_for_heavy_agents(self) -> None:
|
||||
self.assertIn("declare resources in BOTH places", SYSTEM_PROMPT)
|
||||
|
||||
Reference in New Issue
Block a user