fusiontest 0.2.40__tar.gz → 0.2.41__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fusiontest-0.2.40 → fusiontest-0.2.41}/PKG-INFO +1 -1
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/core/action_model.py +6 -1
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest.egg-info/PKG-INFO +1 -1
- {fusiontest-0.2.40 → fusiontest-0.2.41}/pyproject.toml +1 -1
- {fusiontest-0.2.40 → fusiontest-0.2.41}/README.md +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/__init__.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/bench/__init__.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/bench/sites/shop/bugs.js +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/bench/sites/shop/help.html +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/bench/sites/shop/index.html +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/bench/suites/shop-bugs.yaml +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/bench/suites/shop.yaml +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/bench/suites/todomvc.yaml +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/cli.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/core/__init__.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/core/app_errors.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/core/bugs.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/core/goal_verifier.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/core/netguard.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/core/promise_checker.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/core/replay.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/core/reproduce.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/core/runner.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/core/screen_parser.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/core/secrets.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/core/shared_traces.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/core/tokens.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/demos/__init__.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/demos/fusiontest_dashboard.yaml +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/demos/github.yaml +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/demos/hacker_news.yaml +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/demos/httpbin.yaml +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/demos/todomvc.yaml +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/demos/wikipedia.yaml +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/desktop/__init__.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/desktop/macos_adapter.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/desktop/playwright_adapter.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/desktop/windows_adapter.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/discovery/__init__.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/discovery/goal_generator.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/guardrails/__init__.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/guardrails/engine.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/mobile/__init__.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/mobile/android_adapter.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/mobile/ios_adapter.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/reporting/__init__.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/reporting/reporter.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/training/__init__.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/training/data_collector.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/training/dataset_builder.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest/training/trainer.py +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest.egg-info/SOURCES.txt +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest.egg-info/dependency_links.txt +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest.egg-info/entry_points.txt +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest.egg-info/not-zip-safe +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest.egg-info/requires.txt +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/fusiontest.egg-info/top_level.txt +0 -0
- {fusiontest-0.2.40 → fusiontest-0.2.41}/setup.cfg +0 -0
|
@@ -795,12 +795,17 @@ class LLMCaller:
|
|
|
795
795
|
max_tokens=request.max_output_tokens,
|
|
796
796
|
system=request.system,
|
|
797
797
|
messages=[{"role": "user", "content": prompt + request.reminder}],
|
|
798
|
+
# Newer models (Haiku 5.5…) think by default, which would spend the
|
|
799
|
+
# short output budget and put a thinking block first. These are
|
|
800
|
+
# short JSON answers: no thinking, as for Gemini Flash.
|
|
801
|
+
**({} if request.thinking else {"thinking": {"type": "disabled"}}),
|
|
798
802
|
)
|
|
799
803
|
usage = TokenUsage(
|
|
800
804
|
input_tokens=getattr(getattr(resp, "usage", None), "input_tokens", 0) or 0,
|
|
801
805
|
output_tokens=getattr(getattr(resp, "usage", None), "output_tokens", 0) or 0,
|
|
802
806
|
)
|
|
803
|
-
|
|
807
|
+
text = next((b.text for b in resp.content if b.type == "text"), None)
|
|
808
|
+
return (text or request.empty), usage
|
|
804
809
|
|
|
805
810
|
if backend == "gemini":
|
|
806
811
|
from google.genai import types as genai_types
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|