Open Wohlgemuth-Dev opened 1 month ago
My program works perfectly fine, but lately i had a case with one gtin request, that cost around 1500 tokens because it found so many products under that gtin. To counter this case is there any way i could limit the token cost per request made?
Ty in advance for an answer.
had to append the url in requests.get with "code-limit=10" for max 10 prodcuts in response
Reopening, would be nice to add this as a keyword argument.
My program works perfectly fine, but lately i had a case with one gtin request, that cost around 1500 tokens because it found so many products under that gtin. To counter this case is there any way i could limit the token cost per request made?
Ty in advance for an answer.