From fb01413c5a239161019c3a6425fb3a672032de7f Mon Sep 17 00:00:00 2001 From: Bam4d Date: Sat, 9 Dec 2023 11:22:29 +0000 Subject: [PATCH] tiny bit more docs --- src/client.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/client.js b/src/client.js index 6140c04..73ef57f 100644 --- a/src/client.js +++ b/src/client.js @@ -92,6 +92,10 @@ class MistralClient { }; + /** + * Returns a list of the available models + * @return {Promise} + */ listModels = async function() { const response = await this._request('get', 'v1/models'); return response;