可为空的令牌计数仍在三个使用路径上发生 #5238 没有涵盖

作者: Denimworld12创建于 2026年9月30日更新于 2026年9月30日

#5238 normalized nullable token counts for Chat Completions. Three sibling paths that build `Usage` from a provider's usage object were not covered and still raise on the same input:

内容来源: openai/openai-agents-python