statek 1.2.3__tar.gz → 1.2.4__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.
- {statek-1.2.3/statek.egg-info → statek-1.2.4}/PKG-INFO +1 -1
- {statek-1.2.3 → statek-1.2.4}/pyproject.toml +1 -1
- {statek-1.2.3 → statek-1.2.4}/statek/llm_api.py +10 -9
- {statek-1.2.3 → statek-1.2.4/statek.egg-info}/PKG-INFO +1 -1
- {statek-1.2.3 → statek-1.2.4}/LICENSE +0 -0
- {statek-1.2.3 → statek-1.2.4}/MANIFEST.in +0 -0
- {statek-1.2.3 → statek-1.2.4}/NOTICE +0 -0
- {statek-1.2.3 → statek-1.2.4}/README.md +0 -0
- {statek-1.2.3 → statek-1.2.4}/THIRD_PARTY_NOTICES.md +0 -0
- {statek-1.2.3 → statek-1.2.4}/setup.cfg +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/__init__.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/agents/__init__.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/agents/agent.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/agents/coordinator.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/agents/dialog_agent.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/agents/list_of_documents.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/agents/list_of_examples.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/agents/message_dispatcher.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/agents/researcher.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/chat_history.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/chat_style.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/dbzero_restricted.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/docstring.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/document.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/exceptions.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/executors/chat_log_item.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/executors/example.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/executors/job.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/executors/llm_usage.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/executors/post_processor.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/executors/utils.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/future.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/llm_harness.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/llm_tools_scope.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/locale.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/model_name.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/model_pricing.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/multi_source_settings.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/prompt_config.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/provider_config.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/pyenv.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/python_response_format.json +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/python_sandbox.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/rpc_integration.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/runner.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/settings.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/shared_context.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/statek_client_api.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/statek_push_queue.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/system.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/task.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/task_difficulty.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/testing.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek/utils.py +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek.egg-info/SOURCES.txt +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek.egg-info/dependency_links.txt +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek.egg-info/requires.txt +0 -0
- {statek-1.2.3 → statek-1.2.4}/statek.egg-info/top_level.txt +0 -0
|
@@ -144,19 +144,20 @@ def _resolve_reasoning_request(
|
|
|
144
144
|
raise ValueError("reasoning level must be an integer from 0 through 100") from exc
|
|
145
145
|
if not 0 <= level <= 100 or str(level) != aliases[0].strip():
|
|
146
146
|
raise ValueError("reasoning level must be an integer from 0 through 100")
|
|
147
|
-
if
|
|
148
|
-
if provider_config is None:
|
|
149
|
-
raise ValueError("positive reasoning level requires a provider configuration")
|
|
147
|
+
if provider_config is not None:
|
|
150
148
|
payload = provider_config.find_payload(
|
|
151
149
|
provider, model_name.model_family, model_name.model, reasoning_level=level)
|
|
152
|
-
if payload is None:
|
|
150
|
+
if payload is not None:
|
|
151
|
+
ignored_parameters = provider_config.find_ignored_parameters(
|
|
152
|
+
provider,
|
|
153
|
+
model_name.model_family,
|
|
154
|
+
model_name.model,
|
|
155
|
+
) or []
|
|
156
|
+
elif level > 0:
|
|
153
157
|
raise ValueError(
|
|
154
158
|
"positive reasoning level has no matching provider configuration payload")
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
model_name.model_family,
|
|
158
|
-
model_name.model,
|
|
159
|
-
) or []
|
|
159
|
+
elif level > 0:
|
|
160
|
+
raise ValueError("positive reasoning level requires a provider configuration")
|
|
160
161
|
upstream_model = (
|
|
161
162
|
format_model_for_provider(model_name, provider)
|
|
162
163
|
if provider is not None else (
|
|
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
|