Skip to content

@tanstack/ai-octane@0.7.1

Choose a tag to compare

@github-actions github-actions released this 08 Oct 16:11
· 188 commits to main since this release
Immutable release. Only release title and notes can be modified.
96191ea

Patch Changes

  • #1658 f687c54 - Breaking: chat({ stream: false }) and streamToText() now return a ChatResult with text and chunks, not a string. The chunks keep the tool calls and interrupt outcomes that the string lost. To migrate, change const text = await chat({ stream: false }) to const { 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, and resumeJsonResponse() sends the rest of a durable run. On the client, the fetchJson() connection adapter reads that body and asks again until the run is done. Each framework package re-exports fetchJson.

  • Updated dependencies [f687c54, fb55bcb, 2fc2315, 630ec86]:

    • @tanstack/ai@0.66.0
    • @tanstack/ai-client@0.39.0