Releases: posit-dev/chatlas
Releases · posit-dev/chatlas
chatlas 0.3.0
New features
Chat
's.tokens()
method gains avalues
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 aOPENAI_API_KEY
environment variable is not set.ChatOpenAI
now correctly includes the relevantdetail
onContentImageRemote()
input.ChatGoogle
now correctly logs itstoken_usage()
. (#23)
chatlas 0.2.0
v0.2.0 Don't make API testing a strict pre-requisite for release