Repository navigation
v0.27.3
This is a fix release, and nothing in it breaks existing code.
- No
temperaturefor 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_pandtop_kwith a 400. Sowith_temperaturemade every request to them fail. - The new field:
ModelConfig::accepts_sampling_paramsdefaults totrue.ModelConfig::anthropic, the OpenCode gateways and the presets built on them turn it off for those ids. That includes the Bedrock and OpenRouter configspreset(..)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_paramson a gateway orcustomconfig. - Saved configs: a config persisted before this release loads with the flag on, so rebuild it.
- 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
yoagent-rutis 0.13.0 and yoagent-workers 0.4.0 are unchanged.
Full notes: CHANGELOG.md