v0.20.1
What's Changed
- chore(models): remove 413 from retryable status codes by @adi-wan-askui in #165
- fix(playwright): delegate browser installation to user by @adi-wan-askui in #166
- feat(chat): add default model setting for chat interactions by @adi-wan-askui in #167
🚀 Features
- Configurable Chat Model: You can now configure the default model used for chat interactions via the
ASKUI__CHAT_API__MODELenvironment variable. The default model is"claude-sonnet-4-20250514". To use a different model, such as"claude-sonnet-4-5-20250929", set the environment variable:This setting is applied globally across all chat interactions in the API (src/askui/chat/api/settings.py:69-72).export ASKUI__CHAT_API__MODEL="claude-sonnet-4-5-20250929"
🐛 Bug Fixes
-
Playwright Browser Installation: Fixed an issue where the Playwright MCP integration would fail with installation instructions that were not actionable for users. The error messages now correctly delegate browser installation to the user with a clear message: "Download and install the browser to continue." The system detects when a Playwright tool error contains installation instructions and replaces them with a user-friendly message (src/askui/models/shared/tools.py:142-158).
-
HTTP 413 Status Code Handling: Removed HTTP status code 413 (Request Entity Too Large) from the list of retryable errors. When a request is too large, retrying will not resolve the issue, so the system now fails fast instead of attempting unnecessary retries (src/askui/models/askui/retry_utils.py:48).
Full Changelog: v0.20.0...v0.20.1