Add missing return type
| @@ -2485,7 +2485,7 @@ class Message { | ||
| 2485 | 2485 | * Get the token cost of an image. |
| 2486 | 2486 | * @param {string} dataUrl Data URL of the image. |
| 2487 | 2487 | * @param {string} quality String representing the quality of the image. Can be 'low', 'auto', or 'high'. |
| 2488 | - * @returns | |
| 2488 | + * @returns {Promise<number>} The token cost of the image. | |
| 2489 | 2489 | */ |
| 2490 | 2490 | async getImageTokenCost(dataUrl, quality) { |
| 2491 | 2491 | if (quality === 'low') { |