genkit icon indicating copy to clipboard operation
genkit copied to clipboard

[py] openai: add usage stats in the response

Open timere-nemo opened this issue 1 year ago • 1 comments

timere-nemo avatar Mar 27 '25 23:03 timere-nemo

Closing as completed — streaming and non-streaming token usage reporting is now implemented in py/packages/genkit-openai/src/genkit_openai/_models/_model.py (_usage_from_completion).

MichaelDoyle avatar Nov 18 '26 23:11 MichaelDoyle