Repository navigation
@tanstack/ai-octane@0.7.1
·
188 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Patch Changes
-
#1658
f687c54- Breaking:chat({ stream: false })andstreamToText()now return aChatResultwithtextandchunks, not a string. The chunks keep the tool calls and interrupt outcomes that the string lost. To migrate, changeconst text = await chat({ stream: false })toconst { text } = await chat({ stream: false }).Add a JSON transport for hosts that cannot stream a response. On the server,
toJsonResponse()sends a run as one JSON body, andresumeJsonResponse()sends the rest of a durable run. On the client, thefetchJson()connection adapter reads that body and asks again until the run is done. Each framework package re-exportsfetchJson. -
Updated dependencies [
f687c54,fb55bcb,2fc2315,630ec86]:- @tanstack/ai@0.66.0
- @tanstack/ai-client@0.39.0