#streaming in completion does not have finish_reason and total_tokens in response
4 messages · Page 1 of 1 (latest)
each streaming event represents 1 token, so you can determine the tokens that way
There is no finish_reason provided during the middle of streaming because it has no knowledge of when it finished
@knotty geyser even at end of stream also we are not getting the finish_reason.