Bug in count tokens in google
uripeled2 opened this issue · comments
Uri Peled commented
In Google you are calculating the tokens by the length of the prompt and completion but it should be done with google count_message_tokens function/endpoint
Vladimir Prelovac commented
Please make a PR :)