Skip to content

QVAC SDK v0.25.2

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Dec 11:41
3069806

📦 NPM: https://www.npmjs.com/package/@qvac/sdk/v/0.25.2

QVAC SDK 0.25.2 moves the SDK onto @qvac/inference 0.25.2 and fixes one thing: an Inkling reasoning or answer block that the model leaves open now ends at the next message header, so the tool call or answer after it is no longer lost. The Python and Kotlin clients are released at the same version.

Table of Contents

Bug Fixes

An Inkling block left open ends at the next message header

Inkling 2 sometimes starts the next <|message_model|> block without closing the current one with <|end_message|>. completion() then took everything that followed as part of the open block: a tool call after an unclosed reasoning or answer block was never made and its markup showed up in the text, and an answer after unclosed reasoning was delivered as thinking, leaving the content empty. A reasoning or answer block now also ends at the next message header, in the stream, in the final tool-call parse and in the key the KV cache saves for the turn. The Python and Kotlin clients compute the same key.

A message header always starts a new block. A tool call written out with its <|message_model|> header inside reasoning or an answer is now made; a call quoted without the header is still text.