Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prompt_tokens_details not there in latest openai specs #352

Open
digantvsingh opened this issue Oct 15, 2024 · 0 comments
Open

prompt_tokens_details not there in latest openai specs #352

digantvsingh opened this issue Oct 15, 2024 · 0 comments

Comments

@digantvsingh
Copy link

Completion Usage is now returning prompt_tokens_details as well which is not available in openapi specs

"usage": {
"prompt_tokens": 38,
"completion_tokens": 16,
"total_tokens": 54,
"prompt_tokens_details": {
"cached_tokens": 0
},
"completion_tokens_details": {
"reasoning_tokens": 0
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant