gateway icon indicating copy to clipboard operation
gateway copied to clipboard

fix: Make anthropic usage object in streaming mode compliant with openAI response

Open narengogi opened this issue 1 year ago • 0 comments

Title:

  • Make anthropic usage object in streaming mode compliant with openAI response

Description:

  • Moved prompt_tokens to streamState object
  • used the streamState object to access the prompt_tokens

Related Issues:

  • https://github.com/Portkey-AI/gateway/issues/496

narengogi avatar Aug 08 '24 08:08 narengogi