Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,15 @@

@pytest.fixture
def limits() -> ModelExecutionLimits:
# The request window also covers the attempt recorder's journal commits, and each JSONL
# commit syncs to disk. A loaded host can spend more than 5 seconds in those syncs and
# turn a fabricated setup turn into a model timeout. Timeout tests set their own short
# per-request windows, so this ceiling only bounds a hang.
return ModelExecutionLimits(
max_response_bytes=8192,
max_tool_argument_bytes=512,
max_attempts=2,
request_timeout_seconds=5,
request_timeout_seconds=15,
max_retry_delay_seconds=0.001,
)

Expand Down
Loading