Tries the JSON text endpoint (POST /api/v1/comparisons/text, available on
the upstream RegCheck server); if the server does not have it (the local
ollama fork), falls back to the multipart endpoint
(POST /api/v1/comparisons) with the texts uploaded as .txt files.
Usage
.regcheck_submit(
url,
api_token,
paper_text,
prereg_text = NULL,
registration_id = NULL,
client = "ollama",
dimensions = NULL,
reasoning_effort = "medium"
)