Closed Manouchehri closed 1 day ago
Any clue on that? It's an important issue
Tested on logfire, i don't see this behaviour there:
seeing the correct count on langfuse
investigating if we're returning the token counts given from the provider
rerunning with your curl @Manouchehri
works with langfuse
What happened?
See this:
{"prompt_tokens":50,"completion_tokens":68,"total_tokens":118}
Yet langfuse shows:
Relevant log output
No response
Twitter / LinkedIn details
https://twitter.com/DaveManouchehri