verifiers 0.3.2.dev165__py3-none-any.whl → 0.3.2.dev166__py3-none-any.whl
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.
- verifiers/v1/dialects/responses.py +15 -0
- {verifiers-0.3.2.dev165.dist-info → verifiers-0.3.2.dev166.dist-info}/METADATA +1 -1
- {verifiers-0.3.2.dev165.dist-info → verifiers-0.3.2.dev166.dist-info}/RECORD +6 -6
- {verifiers-0.3.2.dev165.dist-info → verifiers-0.3.2.dev166.dist-info}/WHEEL +0 -0
- {verifiers-0.3.2.dev165.dist-info → verifiers-0.3.2.dev166.dist-info}/entry_points.txt +0 -0
- {verifiers-0.3.2.dev165.dist-info → verifiers-0.3.2.dev166.dist-info}/licenses/LICENSE +0 -0
|
@@ -393,6 +393,21 @@ class ResponsesDialect(Dialect[OpenAIResponse]):
|
|
|
393
393
|
safe_input.append(item)
|
|
394
394
|
continue
|
|
395
395
|
kind = item.get("type")
|
|
396
|
+
if (
|
|
397
|
+
kind == "reasoning"
|
|
398
|
+
and not item.get("encrypted_content")
|
|
399
|
+
and isinstance(content := item.get("content"), list)
|
|
400
|
+
and content
|
|
401
|
+
and all(
|
|
402
|
+
isinstance(part, dict)
|
|
403
|
+
and part.get("type") == "reasoning_text"
|
|
404
|
+
and isinstance(part.get("text"), str)
|
|
405
|
+
for part in content
|
|
406
|
+
)
|
|
407
|
+
and any(part["text"] for part in content)
|
|
408
|
+
):
|
|
409
|
+
# Inline reasoning needs no provider-side history lookup.
|
|
410
|
+
item.pop("id", None)
|
|
396
411
|
if kind in ("additional_tools", "tool_search_output"):
|
|
397
412
|
if blocked := request_filter.blocked(
|
|
398
413
|
{**item, "tools": []}, item_path
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: verifiers
|
|
3
|
-
Version: 0.3.2.
|
|
3
|
+
Version: 0.3.2.dev166
|
|
4
4
|
Summary: Verifiers: Environments for LLM Reinforcement Learning
|
|
5
5
|
Project-URL: Homepage, https://github.com/primeintellect-ai/verifiers
|
|
6
6
|
Project-URL: Documentation, https://github.com/primeintellect-ai/verifiers
|
|
@@ -64,7 +64,7 @@ verifiers/v1/dialects/__init__.py,sha256=MNOYM2NdTlSxGK4VtoEjMtD5zya2MpjPDX5jMvZ
|
|
|
64
64
|
verifiers/v1/dialects/anthropic.py,sha256=rkxS8K4xvSTZwS86Mz_a4MfHzrkYf9Vvu8wCerzVNIw,26111
|
|
65
65
|
verifiers/v1/dialects/base.py,sha256=BOqQFQU5ya80fp3Ny_miLHArtYTWlPpvxVC7z8UKaQ0,15909
|
|
66
66
|
verifiers/v1/dialects/chat.py,sha256=KOrDW2f4WMLl37Pv2EilKddCXUUgRNjl4tQseMiPC-o,23775
|
|
67
|
-
verifiers/v1/dialects/responses.py,sha256=
|
|
67
|
+
verifiers/v1/dialects/responses.py,sha256=ggrZKBFO8A1lxwBbP5ExGCZTvf2cW1uJQypWam-iEo8,31150
|
|
68
68
|
verifiers/v1/envs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
69
69
|
verifiers/v1/envs/agentic_judge/__init__.py,sha256=LfEcRHLG_siKzhzWmODDXWSLpLgfum3UFdQDK9XG0gk,325
|
|
70
70
|
verifiers/v1/envs/agentic_judge/env.py,sha256=GovnHqgRm8nQLAM7wMx57-A_wJBRYopsfiy2Bgf32nA,15339
|
|
@@ -193,8 +193,8 @@ verifiers/v1/utils/scope.py,sha256=bzUEiWDOVdbj7dXOwGOlzsQ_-Xu0j9NR5TalQB-8TS8,8
|
|
|
193
193
|
verifiers/v1/utils/score.py,sha256=493yJVMw8teCu9JxapxMFPFzI0hNUqdo0Y2nGW4kckk,6200
|
|
194
194
|
verifiers/v1/utils/trace_store.py,sha256=RsCDonGR-bs-tvEstcppiJm3jFmAdIiG83fA5KtCbAw,2801
|
|
195
195
|
verifiers/v1/utils/version.py,sha256=-obEo_-l9-D8FLef4hYxncOe-uJpxrM1g2Hig_37Sgs,1607
|
|
196
|
-
verifiers-0.3.2.
|
|
197
|
-
verifiers-0.3.2.
|
|
198
|
-
verifiers-0.3.2.
|
|
199
|
-
verifiers-0.3.2.
|
|
200
|
-
verifiers-0.3.2.
|
|
196
|
+
verifiers-0.3.2.dev166.dist-info/METADATA,sha256=PR5ypxpzJMtmrYgaGC5NjI0RT2i-ArYUhlpYVlfZ_hg,4161
|
|
197
|
+
verifiers-0.3.2.dev166.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
198
|
+
verifiers-0.3.2.dev166.dist-info/entry_points.txt,sha256=iugElcdWPKbQM7uFF0lZ8iUpHsNr17-BwEAAjJWxV3U,259
|
|
199
|
+
verifiers-0.3.2.dev166.dist-info/licenses/LICENSE,sha256=v0RrUsdV3IDoZhrRce297IXS3xMHNJ-_LdLpFAUWb9k,1072
|
|
200
|
+
verifiers-0.3.2.dev166.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|