Skip to content

TensorQuay Agent 18.2.2

Choose a tag to compare

@TensorQuay-Dev TensorQuay-Dev released this 28 Nov 04:23
· 40 commits to main since this release
b61feb1

What this release fixes

  • Agent teams and channels go on through a gateway restart. If the gateway restarted at the moment an agent called
    a team or channel tool, for example a lead's done, the call was lost, and the team waited for its idle stop. The
    runtime now sends such a call again, with the same key, until the gateway is back (up to a minute). A refusal is
    never sent again. Agent teams remain experimental and off by default.
  • Settings › Sandboxes says when a person holds a Desktop. While someone uses a Desktop through Take over, Stop
    now is rightly refused; it said "It is working now" though nothing ran. It now says that a person is using the
    desktop and that it can be stopped once it is handed back.
  • The scripted test model says what it is. On a first try with deploy/install.sh --fake-model, every answer now
    ends with a paragraph saying it comes from the scripted test model, which runs the same short demonstration whatever
    you ask, and that an administrator can add a model server under Settings › Models.
  • One Escape in a Take over reaches the desktop, even just after the page opened. Two Escapes within a second
    give the keyboard back to the page; in the page's first second a single one did, and what was typed next went to
    the page instead of the desktop.
  • A channel's "+ Add" shows its suggestions, and the sidebar shows a channel's woken agents working within
    seconds instead of at its next 30-second read.
  • A summary of a long conversation no longer goes out empty. When a route's Max output was large next to its
    window (for example a window left unset, which assumes 32,768 tokens, and a Max output of 20,000), the summary of
    earlier steps carried none of them, and the next message failed with "The conversation is too long for the model".
    This affected every model and protocol.
  • "Too long" and a reply spent thinking now say when the model's context window isn't set, and point to
    Settings › Models, where an administrator sets the real window from the model provider's page.

Upgrade note

  • Back up the database first (pg_dump), as for every release. 18.2.2 has no database migration and no protocol
    change.
  • Pull this release's images and restart, as the upgrade guide says, including the runtime environments
    (deploy/pull-images.sh --workstation, and --desktop if you use it): the restart fix is in the runtime. With the
    test model, pull it too (--fake-model).
  • A model whose context window isn't set is counted at a smaller, guessed window. If you use a hosted model, set
    its real context window in Settings › Models.

Known issues

  • The majority rule can surprise (see 18.2.0's notes): a proposal's author is not counted until they vote, and two
    people cannot decide against two agents. We will revisit the rule in a later release.
  • Writing files in a sandbox is slower than on the host, most of all on microVM installs (see 18.2.0's notes).
  • A sign-in clicked before the page has finished loading can leave you on the sign-in page. Sign in again; the
    next release waits until the page is ready.

Every change in 18.2.2

A fix release for what use of 18.2.1 found: an agent team's or a channel's call lost when the gateway restarted at that
moment, "It is working now" shown while a person held a Desktop, a first try's scripted test model not saying what it
is, one Escape just after a page opened giving the keyboard back from the Desktop, a channel's "+ Add" suggestions cut
off, the sidebar late to show agents a post woke, and a summary of earlier steps sent with no conversation in it when a
route's Max output was large next to an unset context window, which now also says when that window isn't set. No
database migration and no protocol change; the administrators' sandbox listing gains one field, screen_held.

Fixed

  • A summary that keeps a model's conversation going no longer goes out empty (CORE-U-095). When a conversation
    grew past what a model's window leaves, the summary of its earlier steps was asked for with no room left for those
    steps if the model's Max output was large next to its window, for example a window left unset (32,768 assumed) and
    a Max output of 20,000. The model was asked to summarise nothing, and the next message failed with "The
    conversation is too long for the model". The summary now always keeps at least half the window for the
    conversation it summarises, for every model and protocol.
  • A model whose context window isn't set is told apart (CORE-U-096, CORE-U-097, WEB-U-546, WEB-U-547). Then a
    smaller window is assumed. "The conversation is too long for the model" adds that an administrator can set the
    real window in Settings › Models, and so does "The model spent its whole output limit thinking" when that smaller
    window left the answer less room than the route's Max output; it said to raise Max output, which wasn't the limit.
  • The scripted test model says what it is (TK-U-054). A first try with deploy/install.sh --fake-model ran the
    same short demonstration whatever a person asked, and nothing in the product said why. Each of its answers now ends
    with a paragraph saying that the answer comes from the scripted test model and that an administrator can add a model
    server under Settings › Models for real answers.
  • A team or channel call goes on through a gateway restart (RT-I-068). When the gateway restarted at the moment
    an agent called a team or channel tool, for example a lead's done, the call failed and a model that didn't try
    again left its team waiting for the idle stop. The runtime now sends such a call again, with the same idempotency
    key, while the gateway can't be reached or answers that it is briefly unavailable, for up to a minute; the gateway
    answers a repeated call with its first answer. A refusal is never sent again.
  • Settings › Sandboxes says when a person holds a Desktop (GW-I-399, WEB-U-543). While a person uses a Desktop
    through Take over, Stop now is rightly refused, but the page said "It is working now" though nothing ran. It now
    says that a person is using the desktop through Take over and that it can be stopped once it is handed back. Each
    row of GET /api/v1/admin/sandboxes gains screen_held.
  • "+ Add" in a channel's Members panel shows its suggestions (WEB-E2E-152). Beside the channel, from 1024 px,
    the panel cut the list under the search box to a thin strip, so a match, or "None of your tasks matches.", couldn't
    be seen and the box seemed to do nothing. The list now takes its own room in the panel.
  • The sidebar shows a channel's woken agents working (WEB-U-545). A post that woke a channel's agents showed in the
    sidebar's task list only when it next read the tasks, up to 30 seconds later, so it seemed to need a reload. The
    channel page now asks for the list again as soon as an agent starts or stops working.
  • One Escape in a Take over reaches the desktop even just after the page opened (WEB-U-544). Two Escapes within
    a second give the keyboard back to the page; in the first second after the page loaded, a single Escape did, so
    what was typed next went to the page, not the desktop.

Install this release: git clone --branch v18.2.2 https://github.com/TensorQuay/tensorquay-agent.git && cd tensorquay-agent && deploy/install.sh
(the install guide does the same by
hand). Upgrading: back up the database first, then follow
Upgrading to a new release.
The full history is in CHANGELOG.md.