Skip to content

v0.27.3

Choose a tag to compare

@yuanhao yuanhao released this 07 Nov 12:24
· 18 commits to main since this release
4c99777

This is a fix release, and nothing in it breaks existing code.

  • No temperature for a model that rejects it (asked for by yoyo-evolve, its #1146).
    • The bug: Claude models from 4.7 on (Opus 4.7, 4.8, 5 and 5.5; Sonnet 5 and 5.5; Haiku 5.5; Fable) reject temperature, top_p and top_k with a 400. So with_temperature made every request to them fail.
    • The new field: ModelConfig::accepts_sampling_params defaults to true. ModelConfig::anthropic, the OpenCode gateways and the presets built on them turn it off for those ids. That includes the Bedrock and OpenRouter configs preset(..) builds.
    • What the loop does: with the flag off, it leaves the temperature out and logs a warn! once per model.
    • Setting it yourself: call with_accepts_sampling_params on a gateway or custom config.
    • Saved configs: a config persisted before this release loads with the flag on, so rebuild it.

yoagent-rutis 0.13.0 and yoagent-workers 0.4.0 are unchanged.

Full notes: CHANGELOG.md