Skip to content

v1.0.2

Choose a tag to compare

@yoheinakajima yoheinakajima released this 19 May 06:32
· 52 commits to main since this release
f503d28

v1.0.2: patch release addressing v1.0.1 user-test finding.

The @llm_behavior decorator's default model was Anthropic-specific
(claude-sonnet-4-5), silently producing HTTP 404 when used with
OpenAIProvider. This undermined v1.0.1's provider-agnostic claim:
a user swapping AnthropicProvider() for OpenAIProvider() and running
the same code got a 404 with no helpful diagnostic.

v1.0.2 makes the default provider-aware: each provider now declares
its own default_model, and @llm_behavior resolves to the runtime's
provider default when no explicit model= is set. Cross-provider model
name mismatches (e.g., model="claude-..." with OpenAIProvider) now
raise InvalidRuntimeConfiguration at registration time with a clear
message naming the fix. Unknown model names pass silently to preserve
support for custom and fine-tuned models.

CONTRACT v1.0.2 #1 documents the new provider-aware default surface
and the model-validation behavior.

Two additional v1.0.1 user-test findings (output_schema accepting
dicts silently, behavior.failed UX gap) are scheduled for a later
release.

See CHANGELOG.md for full notes.