async-openai icon indicating copy to clipboard operation
async-openai copied to clipboard

Fix incompatibility with API requirements

Open vrurg opened this issue 6 months ago • 1 comments

For CreateAssistantToolFileSearchResources struct the API expects only one of the two fields to be used. Even an empty array is not accepted if the other field contains a value. Thus making both vector_store_ids and vector_stores optional is the way to go.

Fixes 64bit/async-openai#251

vrurg avatar Jul 30 '24 23:07 vrurg