validates either the modelId or defaultModelId is provided. If neither is provided, it throws an TinyError.
Optional
validates either the modelId or defaultModelId is provided. If neither is provided, it throws an TinyError.