Routes for persistent assistant machines
v1.9.0 adds the service side of persistent assistant machines. Chat requests, GET /v1/models and the response formats behave as they did in v1.8.1, and a client has nothing to change.
Machines for assistants
Three internal routes under /internal/onde-onde/vms let the Onde web service list, create and remove the persistent machine that belongs to an account. They are not part of the client API and answer only to the web service's own credential. Until that credential is configured they answer 503.
The channel
A machine's host connects to /channel/{session} with a session token, and the service uses that connection to send the machine its work. The connection is closed after 300 seconds without traffic.
Running the service
Self-hosted deployments need the database migration 0011_onde_onde_vms.sql and the new settings listed in deploy/.env.example. The proxy needs the /channel/ block from deploy/nginx.conf.example, which allows WebSocket upgrades.