Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 1.07 KB

CHANGELOG.md

File metadata and controls

26 lines (16 loc) · 1.07 KB

Changelog

[0.3.0] - 2024-12-20

New features

  • Chat's .tokens() method gains a values argument. Set it to "discrete" to get a result that can be summed to determine the token cost of submitting the current turns. The default ("cumulative"), remains the same (the result can be summed to determine the overall token cost of the conversation).
  • Chat gains a .token_count() method to help estimate token cost of new input. (#23)

Bug fixes

  • ChatOllama no longer fails when a OPENAI_API_KEY environment variable is not set.
  • ChatOpenAI now correctly includes the relevant detail on ContentImageRemote() input.
  • ChatGoogle now correctly logs its token_usage(). (#23)

[0.2.0] - 2024-12-11

First stable release of chatlas, see the website to learn more https://posit-dev.github.io/chatlas/