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

Fix Steaming response usage object for anthropic #496

Closed
narengogi opened this issue Aug 8, 2024 · 0 comments
Closed

Fix Steaming response usage object for anthropic #496

narengogi opened this issue Aug 8, 2024 · 0 comments
Labels
bug Something isn't working triage

Comments

@narengogi
Copy link
Collaborator

What Happened?

Anthropic transform currently sends completion_tokens and prompt_tokens in separate chunks

What Should Have Happened?

Openai format is to send them together in the last chunk

Relevant Code Snippet

No response

Your Twitter/LinkedIn

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

1 participant