- Added
.app(*, echo=)
support. This allows for chatlas to change the echo behavior when running the Shiny app. (#31)
- Fix broken
Chat
's Shiny app when.app(*, stream=True)
by using async chat tools. (#31) - Update formatting of exported markdown to use
repr()
instead ofstr()
when exporting tool call results. (#30)
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)
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)
First stable release of chatlas
, see the website to learn more https://posit-dev.github.io/chatlas/