v0.2.1: Pydantic v2.0
This release updates simpleaichat to use Pydantic v2.0 and replace all depreciated functions therein. simpleaichat now requires pydantic>=2.0
. There should be no breaking changes from this migration, but there should be a notable speedboost from the clientside!
Other changes
- Internal Refactoring #19
- API key from
AIChat
constructor has priority overenv
variable, for consistency #22 ChatMessage
string returns a stringified dictionary instead of the text only. #29- A HTTP proxy can be specified by the
https_proxy
environment variable. This behavior will likely change in an upcoming release #34