Connection
Base URL, credentials and a reachable server.
Track unsaved edits in a profile form against its initial values. Test reverting a field and refusing to clear edits after a failed save.
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.
const dirty = !sameValues(initialValues, values);
return { values, dirty, canReset: dirty };