swift-llm-chat-openai
swift-llm-chat-openai copied to clipboard
CompletionTokensDetails can be nil (should be optional)
For ChatCompletion and ChatCompletionChunk, the CompletionTokensDetails can be nil and should be optional. Otherwise, it cause the decoding error