You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently tested the LangChain token usage, which unfortunately doesn't work yet with streaming models, but while testing, I saw that the self-coded calculation in gpt-engineer probably has an error around here:
I've recently tested the LangChain token usage, which unfortunately doesn't work yet with streaming models, but while testing, I saw that the self-coded calculation in gpt-engineer probably has an error around here:
gpt-engineer/gpt_engineer/ai.py
Line 174 in eebbe1b
Due to this line, the following calculation error occurs. Example:
Prompt Token Usage: 1000
Completion Token Usage: 500
gpt-engineer would calculate 1500 as Prompt Token, 500 as Completion Token and 2000 Total.
The text was updated successfully, but these errors were encountered: