Repository navigation
v0.6.7
What's New
This release also carries everything from v0.6.6, whose release notes it replaces.
Breaking Changes
-
LLMJudgeReward.get_judge_agentnow takes(task, result)and owns building the whole judge agent, system prompt included. The old signature received an already-renderedsystem_prompt, which made an agentic judge impossible: a judge with tools has to bind per-sample state into those tools, and the sample was not in scope. (#215)# before async def get_judge_agent(self, system_prompt: str | None, name: str = "LLMJudge") -> Agent: ... # after — call get_system_prompt yourself if you need it async def get_judge_agent(self, task: TaskT, result: RolloutResult) -> Agent: ...
Subclasses that only override
get_judge_prompt/get_system_promptare unaffected — both are unchanged. A judge that fails to build now reportserror_type: "judge_agent_error", replacingsystem_prompt_errorand covering anything else construction touches (resolving tool schemas, opening a client) that previously surfaced as an indistinguishablejudge_error. The abort path keys onstatus, which is unchanged.
Bug Fixes
- A
Tasksubclass's own fields now survive intoresults.jsonl.EvalSample.taskwas serialized against the baseTask, so fields declared on typed tasks (HarborTask.task_dir,Tau2BenchTask.domain,MCPAtlasTask.gtfa_claims, ...) were dropped on the way to disk. Scoring and resume were unaffected — the rollout and reward always read the live object — so the loss only hit post-hoc analysis of the results file. (#214) - One bad character no longer kills an eval run.
LocalReporterserialized samples withensure_ascii=False, so an unpaired UTF-16 surrogate in a model response (models emit these when a surrogate pair is split mid-token) raisedUnicodeEncodeErroratfh.write— inside theasyncio.gatherinEvaluator.run, taking down every sample still in flight.rewrite()had the same call, where one bad character could take the whole file. (#211) - The eval CLI no longer writes
config.jsonbehind the reporter's back. The run config was serialized twice into the same directory, andmetadata.jsonalready contained every byte of it — so a run configured with a remote-only reporter still got a stray local file in a directory it otherwise never touches. (#209)
Maintenance
strands-sglangfloor raised to>=0.6.0, and model auto-detection moved off SGLang's deprecated/get_model_infoto/model_info(both return identical JSON today; this is a rename ahead of the upstream removal, which would otherwise take the whole integration suite down at once). (#210)
Notes for upgraders
results.jsonllines are now ASCII-escaped. Content is unchanged throughjson.loads; only code that byte-greps the raw file for literal non-ASCII text would notice.config.jsonis no longer written — readmetadata.jsoninstead.
Full Changelog: v0.6.5...v0.6.7