Azure-Samples / azureai-assistant-tool

The Azure AI Assistant Tool is experimental Python application and middleware designed to simplify the development, experimentation, testing, and debugging of OpenAI assistants.
MIT License
115 stars 48 forks source link

Can not send same attachment in conversation twice #36

Closed kaylieee closed 4 months ago

kaylieee commented 4 months ago

Please provide us with the following information:

This issue is for a: (mark with an x)

- [X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

attachment1 = Attachment(<file>)

thread_client.create_conversation_thread_message(message="", thread_name=thread_name, attachments=[attachment1])
client.process_messages(thread_name)

thread_client.create_conversation_thread_message(message="", thread_name=thread_name, attachments=[attachment1])
client.process_messages(thread_name)

Any log messages given by the failure

Expected/desired behavior

Second conversation message contains attachment1

OS and Version?

Windows 11

Versions

0.4.1-alpha

Mention any other details that might be useful


Thanks! We'll be in touch soon.

kaylieee commented 4 months ago

Fixed in release 0.4.2-alpha