ReWOO icon indicating copy to clipboard operation
ReWOO copied to clipboard

Token price human error issue

Open gigio1023 opened this issue 1 year ago • 2 comments

Hi, I read the paper ReWOO very impressive.

I think I found some human error when counting the token cost on the PWS.py https://github.com/billxbf/ReWOO/blob/9cd0283043ff4be0c9d614fda2789d143ca6ffd1/algos/PWS.py#L66-L68

OpenAI count the input token and output token because they have different pricing policy, but these codes just count the input and output token as same. Maybe I can make a mistake, but I want you to know the issue.

Thanks a lot for the nice research!!

gigio1023 avatar May 19 '24 17:05 gigio1023