0.4.0
BC break: Token handling support (continuationCallback) is removed. This feature was relevant with older models with low response limit. Current models with higher limits and great tool support don't really need this and it was creating edge-cases
New features
- message support "error" attribute to indicate error response. This is useful in tool response to explicitly mark error message from content and is supported by Anthropic
- conversation has thread ID - useful for logging
- images are displayed in markdown log
- new Gemini models
Bug fixes
- feedbackCallback is handling tools properly
- http request auto retry supports more status codes
- stop_sequence handling with Anthropic client