[@azure/openai-assistants] Cannot set files on individual thread/message #29473
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
OpenAI
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
I would like to set
file_ids
on the message level when creating a thread (when the assistant is already created).OpenAI API allows us to set file_ids on the message level. In the python SDK, we are also allowed to set the file ids on the message level.
It looks like there is an unused type
ThreadInitializationMessage
in the source code already, that would allow forfileIds
. However theAssistantThreadCreationOptions
type has themessages
hard-coded.To Reproduce
Steps to reproduce the behavior:
fileIds
will give a type error.Expected behavior
fileIds
property should be allowed.Screenshots
The text was updated successfully, but these errors were encountered: