v0.21.1
What's Changed
- feat/configure temperature by @adi-wan-askui in #176
- fix: switch default chat model to askui-hosted model by @adi-wan-askui in #175
馃殌 Features
- Temperature Configuration: Added support for configuring the temperature parameter for agent responses
- Temperature can now be set via
MessageSettings.temperature(range: 0.0 to 1.0) - Allows fine-tuning of response randomness and creativity
- Example usage:
from askui import VisionAgent from askui.models.shared.settings import ActSettings, MessageSettings message_settings = MessageSettings(temperature=0.7) act_settings = ActSettings(messages=message_settings) with VisionAgent() as agent: agent.act("Tell me a joke", settings=act_settings)
- Temperature can now be set via
馃悰 Bug Fixes
- Default Chat Model: Fixed the default chat model configuration
- Changed from
claude-sonnet-4-20250514(Anthropic-hosted, which doesn't work out of the box) toaskui/claude-haiku-4-5-20251001(AskUI-hosted) - Provides faster and better responses by using Haiku instead of Sonnet 4
- Ensures the default model works out of the box without additional configuration
- Changed from
Full Changelog: v0.21.0...v0.21.1