v2.40.0
7 months ago by Craig Adam
New Features
-
Enhanced BaseLLM Content Handling: Updated
BaseLLMand related types to support complexcontenttypes per message, enabling handling of images and other base64 or URL submissions. -
Logprobs Support in ChatParams: Introduced
logprobssupport toBaseLLM'sChatParams, implemented for OpenAI and extended to other LLM providers.
Improvements
-
Codebase Cleanup: Removed usage of
anytypes to enhance type safety and maintainability. -
Gemini Implementation: Added Gemini implementation for the new approach to content handling in AI packages.
