Connection
Base URL, credentials and a reachable server.
Use a fixed update step for a small game simulation. Test a long pause and limit catch-up work so one delayed frame does not trigger unbounded updates.
Base URL, credentials and a reachable server.
A model available through the configured endpoint.
Context limits and tool support are determined by the model and server.
accumulator += frameDelta;
for (let n = 0; accumulator >= step && n < maxSteps; n++) {
updateSimulation(step);
accumulator -= step;
}