langchain
c8195769 - fix(openai-callback): completion count logic (#12383)

Commit
2 years ago
fix(openai-callback): completion count logic (#12383) The changes introduced in #12267 and #12190 broke the cost computation of the `completion` tokens for fine-tuned models because of the early return. This PR aims at fixing this. @baskaryan.
Author
Parents
Loading