Connection
Base URL, credentials and a reachable server.
Test true, false and an existing empty attribute, rejecting the string false without changing the current state.
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.
function setDisabled(button, value) {
if (typeof value !== 'boolean') {
throw new TypeError('Boolean required');
}
button.disabled = value;
}