From 4a719130ff5a65108be6166c19e1aa3da074f4cb Mon Sep 17 00:00:00 2001 From: Ahmed Allam Date: Mon, 8 Sep 2025 10:29:31 -0700 Subject: [PATCH] Use high reasoning effort by default --- strix/cli/main.py | 3 --- strix/llm/llm.py | 6 +++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/strix/cli/main.py b/strix/cli/main.py index 654183a..60f7f25 100644 --- a/strix/cli/main.py +++ b/strix/cli/main.py @@ -229,9 +229,6 @@ def clone_repository(repo_url: str, run_name: str) -> str: [ git_executable, "clone", - "--depth=1", - "--no-recurse-submodules", - "--single-branch", repo_url, str(clone_path), ], diff --git a/strix/llm/llm.py b/strix/llm/llm.py index 116a204..5b1cc7a 100644 --- a/strix/llm/llm.py +++ b/strix/llm/llm.py @@ -313,7 +313,7 @@ class LLM: completion_args["stop"] = [""] if self._should_include_reasoning_effort(): - completion_args["reasoning_effort"] = "medium" + completion_args["reasoning_effort"] = "high" queue = get_global_queue() response = await queue.make_request(completion_args) @@ -348,7 +348,7 @@ class LLM: try: cost = completion_cost(response) or 0.0 - except (ValueError, TypeError, RuntimeError) as e: + except Exception as e: # noqa: BLE001 logger.warning(f"Failed to calculate cost: {e}") cost = 0.0 @@ -370,5 +370,5 @@ class LLM: logger.info(f"Cache creation: {cache_creation_tokens} tokens written to cache") logger.info(f"Usage stats: {self.usage_stats}") - except (AttributeError, TypeError, ValueError) as e: + except Exception as e: # noqa: BLE001 logger.warning(f"Failed to update usage stats: {e}")