langchain
c8195769
- fix(openai-callback): completion count logic (#12383)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
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.
References
#12383 - fix(openai-callback): completion count logic
Author
mspronesti
Parents
b22da81a
Loading