GeminiWithFiles was updated to v1.0.7.
-
v1.0.7 (July 4, 2024)
- From this version, when
doCountToken: trueandexportTotalTokens: trueare used in the object of the argument ofgeminiWithFiles, the total tokens are returned. In this case, the returned value is an object like{returnValue: "###", totalTokens: ###}. Ref
- From this version, when
You can see the detail information here https://github.com/tanaikech/GeminiWithFiles