You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by ak...@apache.org on 2026/07/13 21:21:21 UTC
(tooling-agents) 03/03: Raising timeouts from 900 to 1800 seconds
This is an automated email from the ASF dual-hosted git repository.
andrewmusselman pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-agents.git
commit 4091b4833679e0052fa812a19f14b27d50233208
Author: Andrew Musselman <ak...@apache.org>
AuthorDate: Mon Jul 13 13:23:24 2026 -0700
Raising timeouts from 900 to 1800 seconds
---
ASVS/agents/asvs_consolidate.py | 10 +++++-----
ASVS/agents/asvs_discover.py | 2 +-
ASVS/agents/asvs_relevance_filter.py | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/ASVS/agents/asvs_consolidate.py b/ASVS/agents/asvs_consolidate.py
index 144b695..365d629 100644
--- a/ASVS/agents/asvs_consolidate.py
+++ b/ASVS/agents/asvs_consolidate.py
@@ -851,7 +851,7 @@ Return valid JSON:
result, _ = await call_llm(
provider=FAST_PROVIDER, model=FAST_MODEL,
messages=sub_messages,
- parameters={**FAST_PARAMS, "max_tokens": 64000}, timeout=900,
+ parameters={**FAST_PARAMS, "max_tokens": 64000}, timeout=1800,
)
json_match = re.search(r'\{[\s\S]*\}', result)
if json_match:
@@ -873,7 +873,7 @@ Return valid JSON:
result, _ = await call_llm(
provider=FAST_PROVIDER, model=FAST_MODEL,
messages=messages,
- parameters={**FAST_PARAMS, "max_tokens": 64000}, timeout=900,
+ parameters={**FAST_PARAMS, "max_tokens": 64000}, timeout=1800,
)
json_match = re.search(r'\{[\s\S]*\}', result)
if json_match:
@@ -1340,7 +1340,7 @@ End with ---."""
exec_result, _ = await call_llm(provider=HEAVY_PROVIDER, model=HEAVY_MODEL,
messages=[{"role": "user", "content": exec_summary_prompt}],
- parameters={**HEAVY_PARAMS, "max_tokens": 32000}, timeout=900)
+ parameters={**HEAVY_PARAMS, "max_tokens": 32000}, timeout=1800)
exec_result = sanitize_md_html(exec_result)
# Findings (Sonnet, batched)
@@ -1366,7 +1366,7 @@ For multi-value table cells (Files, Source Reports, etc.): use ", " (comma-space
try:
result, _ = await call_llm(provider=FAST_PROVIDER, model=FAST_MODEL,
messages=[{"role": "user", "content": prompt}],
- parameters={**FAST_PARAMS, "max_tokens": 64000}, timeout=900)
+ parameters={**FAST_PARAMS, "max_tokens": 64000}, timeout=1800)
findings_md_parts.append(sanitize_md_html(result))
except Exception:
pass
@@ -1662,7 +1662,7 @@ For multi-value table cells (Files, Source Reports, etc.): use ", " (comma-space
try:
result, _ = await call_llm(provider=FAST_PROVIDER, model=FAST_MODEL,
messages=[{"role": "user", "content": prompt}],
- parameters={**FAST_PARAMS, "max_tokens": 64000}, timeout=900)
+ parameters={**FAST_PARAMS, "max_tokens": 64000}, timeout=1800)
result = sanitize_md_html(result)
# Count how many issues were generated
generated_ids = set(re.findall(r'FINDING-(\d{3})', result))
diff --git a/ASVS/agents/asvs_discover.py b/ASVS/agents/asvs_discover.py
index 23dd9f4..27f0f75 100644
--- a/ASVS/agents/asvs_discover.py
+++ b/ASVS/agents/asvs_discover.py
@@ -517,7 +517,7 @@ Return ONLY a JSON array of strings:
provider=PROVIDER, model=MODEL,
messages=[{"role": "user", "content": DOMAIN_PROMPT}],
parameters={**PARAMS, "max_tokens": 64000},
- timeout=900,
+ timeout=1800,
)
except Exception as e:
print(f" Domains FAILED (LLM call): {type(e).__name__}: {e}",
diff --git a/ASVS/agents/asvs_relevance_filter.py b/ASVS/agents/asvs_relevance_filter.py
index 922527b..9ddcd26 100644
--- a/ASVS/agents/asvs_relevance_filter.py
+++ b/ASVS/agents/asvs_relevance_filter.py
@@ -1474,7 +1474,7 @@ async def run(input_dict, tools):
"reasoning_effort": "medium",
"max_tokens": 32000,
},
- timeout=900,
+ timeout=1800,
)
except Exception as e:
return batch_idx, chapter, keys, None, f"LLM call failed: {e}"
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org