I want to be able to set the Role of the Thread Message object. #307
-
Feature RequestIs your feature request related to a problem? Please describe.I want to be able to set the Role of a Thread Message object to Assistant. Currently only User is supported, while the API of OpenAI supports setting this value to Assistant as well. See the docs here. Describe the solution you'd likeI want the Thread Message object to have a constructor that accepts a Role parameter. or that the Role property has a setter. Describe alternatives you've consideredNone as there is no way to achieve this. |
Beta Was this translation helpful? Give feedback.
Answered by
StephenHodgson
May 17, 2024
Replies: 1 comment
-
Most messages you can already do this in constructor. In V1 Assistants API you could not. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
deliqs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Most messages you can already do this in constructor.
In V1 Assistants API you could not.
New v2 Assistant API will support this in 8.0.0