verifiers 0.3.2.dev114__py3-none-any.whl → 0.3.2.dev115__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.
@@ -310,8 +310,12 @@ async def run_chat_loop(
310
310
  try:
311
311
  completion, messages = await compactor.complete(messages)
312
312
  except APIStatusError as error:
313
- # Null cannot compact, so context exhaustion ends it with the transcript so far.
314
- if args.bash or not is_context_overflow(error):
313
+ # Without compaction (off, or on with no discoverable window to compact
314
+ # against), context exhaustion is a budget limit, not a crash: end the run
315
+ # with the transcript so far. When the compactor could act, it already
316
+ # tried, so an overflow reaching here is a real failure.
317
+ compacting = compactor.enabled and compactor.threshold is not None
318
+ if compacting or not is_context_overflow(error):
315
319
  raise
316
320
  return
317
321
  message = completion.choices[0].message
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: verifiers
3
- Version: 0.3.2.dev114
3
+ Version: 0.3.2.dev115
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
@@ -117,7 +117,7 @@ verifiers/v1/harnesses/terminus_2/harness.py,sha256=DMTY1bzvydyjHqzmvBSBGKJsmUzY
117
117
  verifiers/v1/harnesses/terminus_2/program.py,sha256=X8MZdyItU3gbXGXnGOlJ9LWcUTnqIDaxlhkZvoRiqKY,2703
118
118
  verifiers/v1/harnesses/utils/__init__.py,sha256=eTS-Ft2HwoLiYn5u1t_KueLmaZB_W12cdYmcVsE-G5A,364
119
119
  verifiers/v1/harnesses/utils/compaction.py,sha256=DeY6CYLEsv7-vJm26sT2mRaPHu3W2ywiZhvFr_pi6Hg,10495
120
- verifiers/v1/harnesses/utils/core.py,sha256=srPo7xopHCjEhJzYoaG73LmhYstfqLoDQ9M_focQ74U,18332
120
+ verifiers/v1/harnesses/utils/core.py,sha256=0Z9Rf6sx8YNlMM6k1l5dWDjaK4B-XLournEwPiFk6AQ,18642
121
121
  verifiers/v1/harnesses/utils/install.py,sha256=BDkkUVZ1brSzCrbQOvMO5mVIE2DsV2pE7rTC5yROYUw,2992
122
122
  verifiers/v1/harnesses/utils/launch.py,sha256=RqPuUY-kT2XVuLSGtXW7kRQEaP-o2KzkiJ7vcoo2neM,2883
123
123
  verifiers/v1/harnesses/utils/mcp.py,sha256=oNhKfLjAW-wScJcDIsW_HfuvKY-JkaGBBZrRLqgRK1g,7355
@@ -192,8 +192,8 @@ verifiers/v1/utils/prime.py,sha256=UTYRjp9cbjNb6CVmBHda-1wWZAIIfxNOmTyNuT7_wL4,9
192
192
  verifiers/v1/utils/retries.py,sha256=Y2ZgrAjn-qNkRKZP_RVNL_7EK0iaRcZeCa404lpGYi4,5417
193
193
  verifiers/v1/utils/score.py,sha256=493yJVMw8teCu9JxapxMFPFzI0hNUqdo0Y2nGW4kckk,6200
194
194
  verifiers/v1/utils/version.py,sha256=-obEo_-l9-D8FLef4hYxncOe-uJpxrM1g2Hig_37Sgs,1607
195
- verifiers-0.3.2.dev114.dist-info/METADATA,sha256=O6nF5B4ZhPybAPa2R4VPG50EBCEMrBfQ-EQb5kfT6pA,4237
196
- verifiers-0.3.2.dev114.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
197
- verifiers-0.3.2.dev114.dist-info/entry_points.txt,sha256=iugElcdWPKbQM7uFF0lZ8iUpHsNr17-BwEAAjJWxV3U,259
198
- verifiers-0.3.2.dev114.dist-info/licenses/LICENSE,sha256=v0RrUsdV3IDoZhrRce297IXS3xMHNJ-_LdLpFAUWb9k,1072
199
- verifiers-0.3.2.dev114.dist-info/RECORD,,
195
+ verifiers-0.3.2.dev115.dist-info/METADATA,sha256=Flcl2vWvLIyG9aj8EwCCxroGwOOn7TiSSUF0QrIhmoQ,4237
196
+ verifiers-0.3.2.dev115.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
197
+ verifiers-0.3.2.dev115.dist-info/entry_points.txt,sha256=iugElcdWPKbQM7uFF0lZ8iUpHsNr17-BwEAAjJWxV3U,259
198
+ verifiers-0.3.2.dev115.dist-info/licenses/LICENSE,sha256=v0RrUsdV3IDoZhrRce297IXS3xMHNJ-_LdLpFAUWb9k,1072
199
+ verifiers-0.3.2.dev115.dist-info/RECORD,,