0.3.0
Pre-release
Pre-release
Features:
- Add text streaming support to generative models in JavaScript. (9967db5, #3)
- Introduce REST route to stream generate text, using an event stream. (071a664, #3)
- Add text streaming support to all built-in services Anthropic, Google, OpenAI. (e27697a, #3)
- Introduce API foundation for streaming text responses. (9476333)
Enhancements:
- Polish and complete implementation of Chrome browser built-in AI integration. (1beb2c5, #6)
- Support text streaming in chat implementations in both PHP and JavaScript. (9e11c03, #3)
- Use streaming by default for the built-in chatbot. (3f6266b)
- Use streaming by default for WP-CLI text generation, customizable via filter. (f9be4ad)
- Remove unnecessary
console.log
call for chatbot. (7637632) - Persist chatbot messages history in session storage. (a349274, #4)
- Persist chatbot visibility across page loads. (81a0511, #4)
- Include chatbot input label for screen reader users for better accessibility. (94026e5, #4)
- Improve chatbot accessibility by focusing on input when the chatbot is opened. (7b5c6f4, #4)
- Improve chatbot error handling by displaying technical errors as a chatbot response. (e57d716)
- Show loading ellipsis in chatbot while generating text response. (db79515, #4)
- Handle errors during browser AI session creation more gracefully. (0edd56f)
- Consistently handle AI temperature parameter between services, expecting a value between 0.0 and 1.0. (e7ae611)
- Improve error handling in chat store and built-in chatbot. (06b2340)
- Expand AI capabilities with
CHAT_HISTORY
capability to differentiate between whether text generation models support history. (4c2feb4) - Provide helper function in PHP and JS to aggregate chunks from candidates stream into final candidates response. (a27bdf6, #3)
- Ensure third-party production libraries are always backward compatible with minimum supported PHP version by separating tooling. (e4fe291)
- Enhance JavaScript API with model instances for better parity with PHP API, while continuing to allow previous approach as short-hand syntax. (7992d6d)
- Restructure JavaScript code into separate files per class. (cd8d90d)
- Remove specific API client interface methods that should not be required for the interface. (140d7c1)
- Allow candidates to have no content. (c072689)
Bug Fixes:
- Remove prefix from base64 inline image data for Anthropic AI integration. Props mslinnea. (#19)
- Fix bug in
CandidatesStreamProcessor
in JS, leading to stream responses to not being aggregated correctly. (969b554) - Fix OpenAI model definitions by restricting to
gpt-4o
models for multimodal support. Props mslinnea. (#18) - Split components package into distinct components and interface packages to better separate responsibilities and avoid JS warning outside of AI Services admin screen. Props westonruter. (056461c, #13)
- Fix chatbot bug where unexpected AI response could lead to link button to contain unexpected label and overflow its container. (66f3578)
- Fix UI warnings in WordPress 6.7 due to JS component updates. (6e8d231)
- Fix failing Anthropic API requests when no generation config was provided. (33db20b)
Documentation: