aallam / openai-kotlin

OpenAI API client for Kotlin with multiplatform and coroutines capabilities.
MIT License
1.49k stars 179 forks source link

fix 'quote' to optional field for openai compatibility assistant on FileCitation #361

Closed AntoD3v closed 4 months ago

AntoD3v commented 5 months ago
Q A
Bug fix? yes
New feature? no
BC breaks? no
Related Issue no

Describe your change

Change field 'quote' on com.aallam.openai.api.message.FileCitation nullable with no-value

What problem is this fixing?

In openai API for assistants module, api can't return type quote image

Tested and works !