v1.10.0

Delegated tasks for assistant machines

v1.10.0 adds the service side of delegated tasks. Chat requests, GET /v1/models and the response formats behave as they did in v1.9.0, and a client has nothing to change.

Delegations

Three routes under /v1/onde-onde/delegations let a signed-in account create a task, read its events and cancel it. A task runs on the account's persistent machine: the service picks each step, the machine carries it out, and the turn ends with a report. Each account has one live turn at a time, and a second create answers 409 with turn_in_progress. An account without a machine gets 409 with no_computer. Until the loop is configured the routes answer 503.

Steps and reports

Every step and the closing report are stored, so a turn that is interrupted by a restart resumes where it stopped. A turn is bounded in length, and a cancelled turn ends with a stopped result.

Running the service

Self-hosted deployments need the database migrations 0012_onde_onde_loop.sql and 0013_onde_onde_turn_source.sql, and the grants in deploy/billing/grants.sql. The loop reads two admin settings, onde_onde_app_id and onde_onde_model, and stays off until both are set.