langchain-ai / langchain-cohere

MIT License
16 stars 15 forks source link

fix: update how total_tokens are retrieved #35

Closed marcoszh closed 2 months ago

marcoszh commented 2 months ago

total_tokens are no longer a field in response directly. Raised in issue #30

marcoszh commented 2 months ago

@harry-cohere , the suggestion makes total sense, and thanks for considering my contribution!