From 65b6186d5d729a5710f8b17523ee9b2a81c7f17f Mon Sep 17 00:00:00 2001 From: Carson Date: Thu, 19 Dec 2024 16:55:13 -0600 Subject: [PATCH] Update changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 616af04..0991fb3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### 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). + ### Bug fixes * `ChatOllama` no longer fails when a `OPENAI_API_KEY` environment variable is not set.