Skip to content

v0.7.1

Choose a tag to compare

@Lawhy Lawhy released this 02 Sep 07:45
· 19 commits to main since this release
7b69bd4

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_factory now returns a BedrockModel subclass that rewrites such a stop to end_turn before the loop sees it, so the turn ends cleanly. v0.7.0 patched the symptom on the read side, in get_final_response; this closes the cause. Bedrock also streams now, the SDK default, instead of the streaming=False override the factory used to pass. (#252)
  • Eval metadata.json no longer repeats backend and model_id at the top level. Both live in model_config, and that is now the only place they appear. (#251)

Maintenance

  • Type-checking is stricter for callers. cache_by is typed with ParamSpec, so mypy sees get_client's real parameters and BaseClient return instead of (*Any, **Any) -> Any. The Ray actor pool and the slime mlflow logger now type-check on installs where ray/mlflow ship stubs; these were unreachable/arg-type errors that only surfaced with those packages installed. No runtime changes. (#253, #248, #247)
  • Ruff's fix = true is actually gone this time, and target-version is pinned to py312. The v0.7.0 notes announced the removal a release early; the setting had been in pyproject.toml since the initial commit and made ruff check exit 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 backend or model_id from an eval run's metadata.json, take them from metadata["model_config"] now.

Full Changelog: v0.7.0...v0.7.1