Add missing return type

This commit is contained in:
Cohee
2024-09-08 17:24:42 +03:00
parent 8bb964515a
commit be145c0bff

View File

@ -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<number>} The token cost of the image.
*/
async getImageTokenCost(dataUrl, quality) {
if (quality === 'low') {