Skip to content

v0.2.1: Pydantic v2.0

Compare
Choose a tag to compare
@minimaxir minimaxir released this 03 Jul 18:16
· 22 commits to main since this release
26f0036

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 over env 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