verifiers 0.3.2.dev139__py3-none-any.whl → 0.3.2.dev141__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/harnesses/rlm/harness.py +1 -1
- verifiers/v1/harnesses/utils/core.py +10 -1
- verifiers/v1/harnesses/utils/launch.py +1 -1
- {verifiers-0.3.2.dev139.dist-info → verifiers-0.3.2.dev141.dist-info}/METADATA +1 -1
- {verifiers-0.3.2.dev139.dist-info → verifiers-0.3.2.dev141.dist-info}/RECORD +8 -8
- {verifiers-0.3.2.dev139.dist-info → verifiers-0.3.2.dev141.dist-info}/WHEEL +0 -0
- {verifiers-0.3.2.dev139.dist-info → verifiers-0.3.2.dev141.dist-info}/entry_points.txt +0 -0
- {verifiers-0.3.2.dev139.dist-info → verifiers-0.3.2.dev141.dist-info}/licenses/LICENSE +0 -0
|
@@ -69,7 +69,7 @@ class CompactionConfig(BaseConfig):
|
|
|
69
69
|
|
|
70
70
|
class RLMHarnessConfig(HarnessConfig):
|
|
71
71
|
version: str = Field(
|
|
72
|
-
default="
|
|
72
|
+
default="ec0335baa434eb726146e330be391ee92bf3a0c8", min_length=1
|
|
73
73
|
)
|
|
74
74
|
"""Git ref (branch, tag, or commit) of nano-rlm to install. Must know every
|
|
75
75
|
field this harness puts on the wire, i.e. be at least the default ref."""
|
|
@@ -9,8 +9,15 @@ from contextlib import AsyncExitStack
|
|
|
9
9
|
from pathlib import Path
|
|
10
10
|
from typing import TYPE_CHECKING
|
|
11
11
|
|
|
12
|
+
import certifi
|
|
12
13
|
import httpx
|
|
13
|
-
from openai import
|
|
14
|
+
from openai import (
|
|
15
|
+
APIConnectionError,
|
|
16
|
+
APIStatusError,
|
|
17
|
+
AsyncOpenAI,
|
|
18
|
+
DefaultAsyncHttpxClient,
|
|
19
|
+
omit,
|
|
20
|
+
)
|
|
14
21
|
from openai.lib.streaming.chat import AsyncChatCompletionStream
|
|
15
22
|
from tenacity import (
|
|
16
23
|
AsyncRetrying,
|
|
@@ -447,10 +454,12 @@ async def main() -> None:
|
|
|
447
454
|
payload = path.read_bytes()
|
|
448
455
|
path.unlink()
|
|
449
456
|
initial = json.loads(payload)
|
|
457
|
+
# Minimal task images may lack a system CA bundle.
|
|
450
458
|
client = AsyncOpenAI(
|
|
451
459
|
base_url=args.base_url,
|
|
452
460
|
api_key=args.api_key,
|
|
453
461
|
timeout=httpx.Timeout(600.0 if args.bash else None, connect=5.0),
|
|
462
|
+
http_client=DefaultAsyncHttpxClient(verify=certifi.where()),
|
|
454
463
|
)
|
|
455
464
|
tool_client = (
|
|
456
465
|
httpx.AsyncClient(timeout=httpx.Timeout(None, connect=5.0))
|
|
@@ -26,7 +26,7 @@ def bundle_program(program: str, *modules: ModuleType) -> str:
|
|
|
26
26
|
# use argv so tools do not inherit them.
|
|
27
27
|
CHAT_PROGRAM = (
|
|
28
28
|
'# /// script\n# requires-python = ">=3.10"\n'
|
|
29
|
-
'# dependencies = ["openai", "mcp==2.0.0", "httpx", "httpx2", "tenacity"]\n'
|
|
29
|
+
'# dependencies = ["openai", "mcp==2.0.0", "httpx", "httpx2", "tenacity", "certifi"]\n'
|
|
30
30
|
"# ///\n"
|
|
31
31
|
)
|
|
32
32
|
CHAT_PROGRAM_SOURCE = bundle_program(CHAT_PROGRAM, mcp, compaction, core)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: verifiers
|
|
3
|
-
Version: 0.3.2.
|
|
3
|
+
Version: 0.3.2.dev141
|
|
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
|
|
@@ -112,15 +112,15 @@ verifiers/v1/harnesses/pi/harness.py,sha256=ysKOLSRQnbPkMtwvuUoJU7Hd4uM4bDF1duD0
|
|
|
112
112
|
verifiers/v1/harnesses/prime_agent/__init__.py,sha256=xfPC4RrlnyYWaf38tPAOZq4YL6M55lMpj5BoRLmaK8I,171
|
|
113
113
|
verifiers/v1/harnesses/prime_agent/harness.py,sha256=Zs_f5H2hQgDzUS4zwArM5UxCYJI5Zo0ELmayn1oBkK0,10663
|
|
114
114
|
verifiers/v1/harnesses/rlm/__init__.py,sha256=hwx51xTdEWzzYgMj-p4ETNcptoub3IPMDbEdJ4uB8Ns,122
|
|
115
|
-
verifiers/v1/harnesses/rlm/harness.py,sha256=
|
|
115
|
+
verifiers/v1/harnesses/rlm/harness.py,sha256=nX49hTis1x-tR5KYoWeNBKcqsKlThobeAX9JRaIu6Cc,13538
|
|
116
116
|
verifiers/v1/harnesses/terminus_2/__init__.py,sha256=l1pwfg1HyVDEqT9efdnFWcXqaZwtKwe7TrplkyxZSA0,166
|
|
117
117
|
verifiers/v1/harnesses/terminus_2/harness.py,sha256=cKQJluW01mkxEccTLFwSWsVMavyiwq_w-NA4Hb_JkGU,3052
|
|
118
118
|
verifiers/v1/harnesses/terminus_2/program.py,sha256=X8MZdyItU3gbXGXnGOlJ9LWcUTnqIDaxlhkZvoRiqKY,2703
|
|
119
119
|
verifiers/v1/harnesses/utils/__init__.py,sha256=eTS-Ft2HwoLiYn5u1t_KueLmaZB_W12cdYmcVsE-G5A,364
|
|
120
120
|
verifiers/v1/harnesses/utils/compaction.py,sha256=DeY6CYLEsv7-vJm26sT2mRaPHu3W2ywiZhvFr_pi6Hg,10495
|
|
121
|
-
verifiers/v1/harnesses/utils/core.py,sha256=
|
|
121
|
+
verifiers/v1/harnesses/utils/core.py,sha256=tG07WGMiWFGCC3PwHndX2v9MLJVsn2EMsKwRKj3jwAg,19865
|
|
122
122
|
verifiers/v1/harnesses/utils/install.py,sha256=BDkkUVZ1brSzCrbQOvMO5mVIE2DsV2pE7rTC5yROYUw,2992
|
|
123
|
-
verifiers/v1/harnesses/utils/launch.py,sha256=
|
|
123
|
+
verifiers/v1/harnesses/utils/launch.py,sha256=Kg6x4Fl5y48pSgPiupSBj5ehQkkupk5vihUUvHtpcO8,2894
|
|
124
124
|
verifiers/v1/harnesses/utils/mcp.py,sha256=oNhKfLjAW-wScJcDIsW_HfuvKY-JkaGBBZrRLqgRK1g,7355
|
|
125
125
|
verifiers/v1/interception/__init__.py,sha256=5Kvo7tcBUVaa65s9A1NiOH3CPpzw-P5btXwxB4Nbbvs,4251
|
|
126
126
|
verifiers/v1/interception/base.py,sha256=Mg16Y104lyZilF9shdivdqYoqz4OYp978i_myyrulu8,2529
|
|
@@ -192,8 +192,8 @@ verifiers/v1/utils/scope.py,sha256=bzUEiWDOVdbj7dXOwGOlzsQ_-Xu0j9NR5TalQB-8TS8,8
|
|
|
192
192
|
verifiers/v1/utils/score.py,sha256=493yJVMw8teCu9JxapxMFPFzI0hNUqdo0Y2nGW4kckk,6200
|
|
193
193
|
verifiers/v1/utils/trace_store.py,sha256=RsCDonGR-bs-tvEstcppiJm3jFmAdIiG83fA5KtCbAw,2801
|
|
194
194
|
verifiers/v1/utils/version.py,sha256=-obEo_-l9-D8FLef4hYxncOe-uJpxrM1g2Hig_37Sgs,1607
|
|
195
|
-
verifiers-0.3.2.
|
|
196
|
-
verifiers-0.3.2.
|
|
197
|
-
verifiers-0.3.2.
|
|
198
|
-
verifiers-0.3.2.
|
|
199
|
-
verifiers-0.3.2.
|
|
195
|
+
verifiers-0.3.2.dev141.dist-info/METADATA,sha256=rNPIGmlHSw5NcbcGDiyXgRU-twHVD4lOqToS3aVveZ4,4161
|
|
196
|
+
verifiers-0.3.2.dev141.dist-info/WHEEL,sha256=THafob7ofN-NsuMN7Mg4qZyHaQI7KkD-QlcQatYhXPo,87
|
|
197
|
+
verifiers-0.3.2.dev141.dist-info/entry_points.txt,sha256=iugElcdWPKbQM7uFF0lZ8iUpHsNr17-BwEAAjJWxV3U,259
|
|
198
|
+
verifiers-0.3.2.dev141.dist-info/licenses/LICENSE,sha256=v0RrUsdV3IDoZhrRce297IXS3xMHNJ-_LdLpFAUWb9k,1072
|
|
199
|
+
verifiers-0.3.2.dev141.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|