diff --git a/public/scripts/openai.js b/public/scripts/openai.js index 8d4372e40..09bb23131 100644 --- a/public/scripts/openai.js +++ b/public/scripts/openai.js @@ -2485,7 +2485,7 @@ class Message { * Get the token cost of an image. * @param {string} dataUrl Data URL of the image. * @param {string} quality String representing the quality of the image. Can be 'low', 'auto', or 'high'. - * @returns + * @returns {Promise} The token cost of the image. */ async getImageTokenCost(dataUrl, quality) { if (quality === 'low') {