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 20:23:42 UTC
(tooling-agents) branch main updated (7764748 -> 4159c97)
This is an automated email from the ASF dual-hosted git repository.
andrewmusselman pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-agents.git
from 7764748 Fix maintainer count for foundation/org-named packages
new afaacd6 asvs: repoint all model tiers to Claude Mythos 5 (test)
new 9cd61a7 asvs: strip temperature param from all model calls for Mythos 5
new 4159c97 Raising timeouts from 900 to 1800 seconds because Mythos is slow
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
ASVS/agents/asvs_audit.py | 18 +++++++++---------
ASVS/agents/asvs_bundle.py | 18 +++++++++---------
ASVS/agents/asvs_compare_open_issues_prs.py | 6 +++---
ASVS/agents/asvs_consolidate.py | 22 +++++++++++-----------
ASVS/agents/asvs_discover.py | 8 ++++----
ASVS/agents/asvs_orchestrate.py | 2 +-
ASVS/agents/asvs_relevance_filter.py | 15 +++------------
7 files changed, 40 insertions(+), 49 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org
(tooling-agents) 01/03: asvs: repoint all model tiers to Claude Mythos 5 (test)
Posted by ak...@apache.org.
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 afaacd696c7bdc4f811735ba7ed9d58e0c0f2fc8
Author: Andrew Musselman <ak...@apache.org>
AuthorDate: Mon Jul 13 12:12:18 2026 -0700
asvs: repoint all model tiers to Claude Mythos 5 (test)
Move all three tiers (Haiku/Sonnet/Opus) to Mythos 5 via the
bedrock-mythos provider. Testing configuration to validate the Mantle
integration end-to-end; production should re-tier afterward so cheap
tasks aren't paying frontier-model prices.
Every task now routes to:
provider = bedrock-mythos
model = anthropic.claude-mythos-5
across asvs_audit, asvs_bundle, asvs_compare_open_issues_prs,
asvs_consolidate, asvs_discover, asvs_relevance_filter.
Note: total concurrent Mythos calls is the SUM of all three semaphores
(SONNET + HAIKU + OPUS concurrency). Watch for Mantle rate-limit
responses on initial runs and lower concurrency if needed.
Prerequisites:
- gofannon bedrock-mythos provider points to us-east-1 with
litellm_provider_prefix bedrock/mantle and model key
anthropic.claude-mythos-5
- fresh AWS SSO session against the mythos account
---
ASVS/agents/asvs_audit.py | 12 ++++++------
ASVS/agents/asvs_bundle.py | 12 ++++++------
ASVS/agents/asvs_compare_open_issues_prs.py | 4 ++--
ASVS/agents/asvs_consolidate.py | 8 ++++----
ASVS/agents/asvs_discover.py | 4 ++--
ASVS/agents/asvs_orchestrate.py | 2 +-
ASVS/agents/asvs_relevance_filter.py | 4 ++--
7 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/ASVS/agents/asvs_audit.py b/ASVS/agents/asvs_audit.py
index 51269b3..ee23f89 100644
--- a/ASVS/agents/asvs_audit.py
+++ b/ASVS/agents/asvs_audit.py
@@ -402,23 +402,23 @@ This means one of the following:
# =============================================================
# Model configuration
# =============================================================
- SONNET_PROVIDER = "bedrock"
+ SONNET_PROVIDER = "bedrock-mythos"
# Sonnet 4.6: 1M-token context window (up from 4.5's 200K) and 64K
# max output (up from 32K). The SONNET_CONTEXT-derived batch budgets
# below recompute against 1M automatically via get_context_window.
# max_tokens raised 16384 -> 32768 for inventory: a larger input
# window means fatter inventory batches, which want more room to
# emit structure. Stay well under the 64000 output ceiling.
- SONNET_MODEL = "us.anthropic.claude-sonnet-4-6"
+ SONNET_MODEL = "anthropic.claude-mythos-5"
SONNET_PARAMS = {"temperature": 0.7, "max_tokens": 32768}
# T9: Haiku for relevance filtering (cheap classification)
- HAIKU_PROVIDER = "bedrock"
- HAIKU_MODEL = "us.anthropic.claude-haiku-4-5-20251001-v1:0"
+ HAIKU_PROVIDER = "bedrock-mythos"
+ HAIKU_MODEL = "anthropic.claude-mythos-5"
HAIKU_PARAMS = {"temperature": 0.3, "max_tokens": 8192}
- OPUS_PROVIDER = "bedrock"
- OPUS_MODEL = "us.anthropic.claude-opus-4-8"
+ OPUS_PROVIDER = "bedrock-mythos"
+ OPUS_MODEL = "anthropic.claude-mythos-5"
OPUS_PARAMS = {"temperature": 1, "reasoning_effort": "high", "max_tokens": 128000}
SONNET_CONTEXT = get_context_window(SONNET_PROVIDER, SONNET_MODEL)
diff --git a/ASVS/agents/asvs_bundle.py b/ASVS/agents/asvs_bundle.py
index 808f0f7..0c31109 100644
--- a/ASVS/agents/asvs_bundle.py
+++ b/ASVS/agents/asvs_bundle.py
@@ -477,21 +477,21 @@ BATCH RESULTS TO CONSOLIDATE:
# =============================================================
# Model configuration
# =============================================================
- SONNET_PROVIDER = "bedrock"
+ SONNET_PROVIDER = "bedrock-mythos"
# Sonnet 4.6: 1M context (up from 200K) + 64K max output (up from
# 32K). SONNET_CONTEXT budgets below recompute against 1M via
# get_context_window. max_tokens 16384 -> 32768 for fatter inventory
# batches; stays under the 64000 output ceiling.
- SONNET_MODEL = "us.anthropic.claude-sonnet-4-6"
+ SONNET_MODEL = "anthropic.claude-mythos-5"
SONNET_PARAMS = {"temperature": 0.7, "max_tokens": 32768}
# T9: Haiku for relevance filtering — cheaper and faster
- HAIKU_PROVIDER = "bedrock"
- HAIKU_MODEL = "us.anthropic.claude-haiku-4-5-20251001-v1:0"
+ HAIKU_PROVIDER = "bedrock-mythos"
+ HAIKU_MODEL = "anthropic.claude-mythos-5"
HAIKU_PARAMS = {"temperature": 0.3, "max_tokens": 8192}
- OPUS_PROVIDER = "bedrock"
- OPUS_MODEL = "us.anthropic.claude-opus-4-8"
+ OPUS_PROVIDER = "bedrock-mythos"
+ OPUS_MODEL = "anthropic.claude-mythos-5"
# Bundled output is bigger — give Opus more room to write per-section blocks
OPUS_PARAMS = {"temperature": 1, "reasoning_effort": "high", "max_tokens": 128000}
diff --git a/ASVS/agents/asvs_compare_open_issues_prs.py b/ASVS/agents/asvs_compare_open_issues_prs.py
index 7ac36c0..39705ce 100644
--- a/ASVS/agents/asvs_compare_open_issues_prs.py
+++ b/ASVS/agents/asvs_compare_open_issues_prs.py
@@ -327,8 +327,8 @@ async def run(input_dict, tools):
annotations = []
tracked = addressed = 0
- SONNET_PROVIDER = "bedrock"
- SONNET_MODEL = "us.anthropic.claude-sonnet-4-6"
+ SONNET_PROVIDER = "bedrock-mythos"
+ SONNET_MODEL = "anthropic.claude-mythos-5"
SONNET_PARAMS = {"temperature": 0.7, "max_tokens": 4096}
for fid, (fnd, top) in candidates_by_finding.items():
diff --git a/ASVS/agents/asvs_consolidate.py b/ASVS/agents/asvs_consolidate.py
index 8c03948..7869464 100644
--- a/ASVS/agents/asvs_consolidate.py
+++ b/ASVS/agents/asvs_consolidate.py
@@ -314,21 +314,21 @@ async def run(input_dict, tools):
# =============================================================
# Model configuration
# =============================================================
- FAST_PROVIDER = "bedrock"
+ FAST_PROVIDER = "bedrock-mythos"
# Bumped Sonnet 4.5 -> 4.6: same price ($3/$15), better
# instruction-following on the merge/dedup/severity-table logic.
# Consolidation is where the apache/openoffice run's malformed
# single-pass output surfaced. 4.6 uses a dateless inference-profile
# id on Bedrock (verified against the Claude Code Bedrock docs);
# confirm it is enabled in your region before deploying.
- FAST_MODEL = "us.anthropic.claude-sonnet-4-6"
+ FAST_MODEL = "anthropic.claude-mythos-5"
# max_tokens default raised 16384 -> 32768 for the lighter FAST
# calls now that Sonnet 4.6 permits 64K output. The big
# report-generation calls below already pass an explicit 64000.
FAST_PARAMS = {"temperature": 0.7, "max_tokens": 32768}
- HEAVY_PROVIDER = "bedrock"
- HEAVY_MODEL = "us.anthropic.claude-opus-4-8"
+ HEAVY_PROVIDER = "bedrock-mythos"
+ HEAVY_MODEL = "anthropic.claude-mythos-5"
HEAVY_PARAMS = {"temperature": 1, "reasoning_effort": "medium", "max_tokens": 128000}
FAST_CONTEXT_WINDOW = get_context_window(FAST_PROVIDER, FAST_MODEL)
diff --git a/ASVS/agents/asvs_discover.py b/ASVS/agents/asvs_discover.py
index d4c96b6..770cc13 100644
--- a/ASVS/agents/asvs_discover.py
+++ b/ASVS/agents/asvs_discover.py
@@ -128,14 +128,14 @@ async def run(input_dict, tools):
# =============================================================
# Model configuration
# =============================================================
- PROVIDER = "bedrock"
+ PROVIDER = "bedrock-mythos"
# Sonnet 4.6: 1M context (up from 200K). CONTEXT_WINDOW and
# SAFE_LIMIT below recompute against 1M via get_context_window, so
# the classification batcher packs far more files per call and emits
# many fewer batches over a large tree. max_tokens 16384 -> 32768
# (the domain-generation call already overrides to 32000); under the
# 64000 output ceiling.
- MODEL = "us.anthropic.claude-sonnet-4-6"
+ MODEL = "anthropic.claude-mythos-5"
PARAMS = {"temperature": 0.7, "max_tokens": 32768}
CONTEXT_WINDOW = get_context_window(PROVIDER, MODEL)
SAFE_LIMIT = int(CONTEXT_WINDOW * 0.40)
diff --git a/ASVS/agents/asvs_orchestrate.py b/ASVS/agents/asvs_orchestrate.py
index 964d612..d7306cc 100644
--- a/ASVS/agents/asvs_orchestrate.py
+++ b/ASVS/agents/asvs_orchestrate.py
@@ -1497,7 +1497,7 @@ async def run(input_dict, tools):
try:
models_list = ASVS_AUDIT_MODELS
except NameError:
- models_list = ["opus-4.8", "sonnet-4.6", "haiku-4.5"]
+ models_list = ["mythos-5"]
# threat-model URL: SECURITY.md at the audited sha.
tm_url = (f"https://github.com/{repo_owner_name}/blob/"
diff --git a/ASVS/agents/asvs_relevance_filter.py b/ASVS/agents/asvs_relevance_filter.py
index 7ad1384..2599210 100644
--- a/ASVS/agents/asvs_relevance_filter.py
+++ b/ASVS/agents/asvs_relevance_filter.py
@@ -155,8 +155,8 @@ async def run(input_dict, tools):
print(f"[filter] private_repo={private_repo or '(none)'}")
print(f"[filter] pat={'set' if pat else 'not set'}")
- REASON_PROVIDER = "bedrock"
- REASON_MODEL = "us.anthropic.claude-opus-4-8"
+ REASON_PROVIDER = "bedrock-mythos"
+ REASON_MODEL = "anthropic.claude-mythos-5"
source_ns = data_store.use_namespace(source_namespace)
reports_ns = data_store.use_namespace(reports_namespace)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org
(tooling-agents) 03/03: Raising timeouts from 900 to 1800 seconds because Mythos is slow
Posted by ak...@apache.org.
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 4159c971611524fd43b0d91635128bbaa3ec75ba
Author: Andrew Musselman <ak...@apache.org>
AuthorDate: Mon Jul 13 13:23:24 2026 -0700
Raising timeouts from 900 to 1800 seconds because Mythos is slow
---
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
(tooling-agents) 02/03: asvs: strip temperature param from all model calls for Mythos 5
Posted by ak...@apache.org.
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 9cd61a7ac5b4a437eb4acc4e1ccea53459885bcc
Author: Andrew Musselman <ak...@apache.org>
AuthorDate: Mon Jul 13 12:46:03 2026 -0700
asvs: strip temperature param from all model calls for Mythos 5
Mythos 5 rejects the temperature parameter outright:
BedrockException invalid_request_error:
is deprecated for this model.
Every call in the six model-invoking agents sent a temperature (0.3 / 0.7
/ 1.0 across tiers), so every batch 400'd immediately after the Mythos
repoint. Remove temperature from all 13 sites across the six agents:
asvs_audit.py SONNET/HAIKU/OPUS_PARAMS
asvs_bundle.py SONNET/HAIKU/OPUS_PARAMS
asvs_compare_open_issues_prs.py SONNET_PARAMS
asvs_consolidate.py FAST/HEAVY_PARAMS
asvs_discover.py PARAMS
asvs_relevance_filter.py 3 inline reasoning blocks
reasoning_effort and max_tokens are preserved unchanged; no other lines
are touched. Per the Mythos 5 migration guide, adaptive thinking is
always on and the old temperature=1.0-when-thinking constraint no longer
applies, so dropping temperature on the reasoning calls is correct, not a
regression (stale comments describing that constraint also removed).
Must be fixed in agent code because the gofannon UI cannot unset
temperature on an invokable model.
Note: reasoning_effort is retained pending a live test — Mythos may accept
it as the effort control or reject it alongside thinking config; strip it
in a follow-up only if the reasoning calls 400.
Single-agent updates (redeploy the six agents; no service restart).
---
ASVS/agents/asvs_audit.py | 6 +++---
ASVS/agents/asvs_bundle.py | 6 +++---
ASVS/agents/asvs_compare_open_issues_prs.py | 2 +-
ASVS/agents/asvs_consolidate.py | 4 ++--
ASVS/agents/asvs_discover.py | 2 +-
ASVS/agents/asvs_relevance_filter.py | 9 ---------
6 files changed, 10 insertions(+), 19 deletions(-)
diff --git a/ASVS/agents/asvs_audit.py b/ASVS/agents/asvs_audit.py
index ee23f89..708ecea 100644
--- a/ASVS/agents/asvs_audit.py
+++ b/ASVS/agents/asvs_audit.py
@@ -410,16 +410,16 @@ This means one of the following:
# window means fatter inventory batches, which want more room to
# emit structure. Stay well under the 64000 output ceiling.
SONNET_MODEL = "anthropic.claude-mythos-5"
- SONNET_PARAMS = {"temperature": 0.7, "max_tokens": 32768}
+ SONNET_PARAMS = {"max_tokens": 32768}
# T9: Haiku for relevance filtering (cheap classification)
HAIKU_PROVIDER = "bedrock-mythos"
HAIKU_MODEL = "anthropic.claude-mythos-5"
- HAIKU_PARAMS = {"temperature": 0.3, "max_tokens": 8192}
+ HAIKU_PARAMS = {"max_tokens": 8192}
OPUS_PROVIDER = "bedrock-mythos"
OPUS_MODEL = "anthropic.claude-mythos-5"
- OPUS_PARAMS = {"temperature": 1, "reasoning_effort": "high", "max_tokens": 128000}
+ OPUS_PARAMS = {"reasoning_effort": "high", "max_tokens": 128000}
SONNET_CONTEXT = get_context_window(SONNET_PROVIDER, SONNET_MODEL)
HAIKU_CONTEXT = get_context_window(HAIKU_PROVIDER, HAIKU_MODEL)
diff --git a/ASVS/agents/asvs_bundle.py b/ASVS/agents/asvs_bundle.py
index 0c31109..ba69910 100644
--- a/ASVS/agents/asvs_bundle.py
+++ b/ASVS/agents/asvs_bundle.py
@@ -483,17 +483,17 @@ BATCH RESULTS TO CONSOLIDATE:
# get_context_window. max_tokens 16384 -> 32768 for fatter inventory
# batches; stays under the 64000 output ceiling.
SONNET_MODEL = "anthropic.claude-mythos-5"
- SONNET_PARAMS = {"temperature": 0.7, "max_tokens": 32768}
+ SONNET_PARAMS = {"max_tokens": 32768}
# T9: Haiku for relevance filtering — cheaper and faster
HAIKU_PROVIDER = "bedrock-mythos"
HAIKU_MODEL = "anthropic.claude-mythos-5"
- HAIKU_PARAMS = {"temperature": 0.3, "max_tokens": 8192}
+ HAIKU_PARAMS = {"max_tokens": 8192}
OPUS_PROVIDER = "bedrock-mythos"
OPUS_MODEL = "anthropic.claude-mythos-5"
# Bundled output is bigger — give Opus more room to write per-section blocks
- OPUS_PARAMS = {"temperature": 1, "reasoning_effort": "high", "max_tokens": 128000}
+ OPUS_PARAMS = {"reasoning_effort": "high", "max_tokens": 128000}
SONNET_CONTEXT = get_context_window(SONNET_PROVIDER, SONNET_MODEL)
HAIKU_CONTEXT = get_context_window(HAIKU_PROVIDER, HAIKU_MODEL)
diff --git a/ASVS/agents/asvs_compare_open_issues_prs.py b/ASVS/agents/asvs_compare_open_issues_prs.py
index 39705ce..5a95e50 100644
--- a/ASVS/agents/asvs_compare_open_issues_prs.py
+++ b/ASVS/agents/asvs_compare_open_issues_prs.py
@@ -329,7 +329,7 @@ async def run(input_dict, tools):
SONNET_PROVIDER = "bedrock-mythos"
SONNET_MODEL = "anthropic.claude-mythos-5"
- SONNET_PARAMS = {"temperature": 0.7, "max_tokens": 4096}
+ SONNET_PARAMS = {"max_tokens": 4096}
for fid, (fnd, top) in candidates_by_finding.items():
cand_lines = []
diff --git a/ASVS/agents/asvs_consolidate.py b/ASVS/agents/asvs_consolidate.py
index 7869464..144b695 100644
--- a/ASVS/agents/asvs_consolidate.py
+++ b/ASVS/agents/asvs_consolidate.py
@@ -325,11 +325,11 @@ async def run(input_dict, tools):
# max_tokens default raised 16384 -> 32768 for the lighter FAST
# calls now that Sonnet 4.6 permits 64K output. The big
# report-generation calls below already pass an explicit 64000.
- FAST_PARAMS = {"temperature": 0.7, "max_tokens": 32768}
+ FAST_PARAMS = {"max_tokens": 32768}
HEAVY_PROVIDER = "bedrock-mythos"
HEAVY_MODEL = "anthropic.claude-mythos-5"
- HEAVY_PARAMS = {"temperature": 1, "reasoning_effort": "medium", "max_tokens": 128000}
+ HEAVY_PARAMS = {"reasoning_effort": "medium", "max_tokens": 128000}
FAST_CONTEXT_WINDOW = get_context_window(FAST_PROVIDER, FAST_MODEL)
HEAVY_CONTEXT_WINDOW = get_context_window(HEAVY_PROVIDER, HEAVY_MODEL)
diff --git a/ASVS/agents/asvs_discover.py b/ASVS/agents/asvs_discover.py
index 770cc13..23dd9f4 100644
--- a/ASVS/agents/asvs_discover.py
+++ b/ASVS/agents/asvs_discover.py
@@ -136,7 +136,7 @@ async def run(input_dict, tools):
# (the domain-generation call already overrides to 32000); under the
# 64000 output ceiling.
MODEL = "anthropic.claude-mythos-5"
- PARAMS = {"temperature": 0.7, "max_tokens": 32768}
+ PARAMS = {"max_tokens": 32768}
CONTEXT_WINDOW = get_context_window(PROVIDER, MODEL)
SAFE_LIMIT = int(CONTEXT_WINDOW * 0.40)
diff --git a/ASVS/agents/asvs_relevance_filter.py b/ASVS/agents/asvs_relevance_filter.py
index 2599210..922527b 100644
--- a/ASVS/agents/asvs_relevance_filter.py
+++ b/ASVS/agents/asvs_relevance_filter.py
@@ -534,9 +534,6 @@ async def run(input_dict, tools):
model=REASON_MODEL,
messages=[{"role": "user", "content": prompt}],
parameters={
- # Same temperature/reasoning constraint as elsewhere
- # in this file: thinking requires temp=1.0.
- "temperature": 1.0,
"reasoning_effort": "low",
"max_tokens": 8000,
},
@@ -1056,11 +1053,6 @@ async def run(input_dict, tools):
model=REASON_MODEL,
messages=[{"role": "user", "content": PROFILE_PROMPT + docs_section}],
parameters={
- # Bedrock-Opus requires temperature=1 when
- # reasoning_effort (extended thinking) is set.
- # Setting temperature<1 with thinking enabled is
- # a 400 BadRequest.
- "temperature": 1.0,
"reasoning_effort": "medium",
"max_tokens": 16000,
},
@@ -1479,7 +1471,6 @@ async def run(input_dict, tools):
parameters={
# See profile-synthesis comment: temperature
# must be 1.0 when reasoning_effort is set.
- "temperature": 1.0,
"reasoning_effort": "medium",
"max_tokens": 32000,
},
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org