Repository navigation
v0.7.1
What's New
Bug Fixes
- Bedrock no longer turns a finished answer into an empty tool turn. Bedrock sometimes closes a text-only message with
stopReason: "tool_use"while never sending a tool-use block. The Strands agent loop took that at face value: it ran a tool step with zero tool uses, appended an empty user message, and sent the model a request carrying an empty content block, which failed the rollout.bedrock_model_factorynow returns aBedrockModelsubclass that rewrites such a stop toend_turnbefore the loop sees it, so the turn ends cleanly. v0.7.0 patched the symptom on the read side, inget_final_response; this closes the cause. Bedrock also streams now, the SDK default, instead of thestreaming=Falseoverride the factory used to pass. (#252) - Eval
metadata.jsonno longer repeatsbackendandmodel_idat the top level. Both live inmodel_config, and that is now the only place they appear. (#251)
Maintenance
- Type-checking is stricter for callers.
cache_byis typed withParamSpec, so mypy seesget_client's real parameters andBaseClientreturn instead of(*Any, **Any) -> Any. The Ray actor pool and the slime mlflow logger now type-check on installs whereray/mlflowship stubs; these wereunreachable/arg-typeerrors that only surfaced with those packages installed. No runtime changes. (#253, #248, #247) - Ruff's
fix = trueis actually gone this time, andtarget-versionis pinned topy312. The v0.7.0 notes announced the removal a release early; the setting had been inpyproject.tomlsince the initial commit and maderuff checkexit 0 on fixable violations. Ruff bumped to 0.16.4. (#246, #250)
Documentation
- The DeepWiki page plan follows the v0.7.0 rename:
CalculatorEnv→MathEnv, described as chat-only. (#249)
Notes for upgraders
- If you read
backendormodel_idfrom an eval run'smetadata.json, take them frommetadata["model_config"]now.
Full Changelog: v0.7.0...v0.7.1