Track SDK LLM usage

This commit is contained in:
0xallam
2026-04-26 15:38:41 -07:00
parent af826e1281
commit 4791feb08e
8 changed files with 444 additions and 3 deletions
+2 -1
View File
@@ -12,7 +12,7 @@ from strix.config.models import DEFAULT_MODEL_RETRY
# Default max_turns budget passed to the SDK runner.
DEFAULT_MAX_TURNS = 300
DEFAULT_MAX_TURNS = 500
def build_root_task(scan_config: dict[str, Any]) -> str:
@@ -112,6 +112,7 @@ def make_model_settings(
parallel_tool_calls=False,
tool_choice="required",
retry=DEFAULT_MODEL_RETRY,
include_usage=True,
)
if reasoning_effort is not None:
model_settings = model_settings.resolve(