-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CreateThreadAndRunAsync does not use RunCreationOptions.AdditionalInstructions #77
Comments
Thanks, @Blackbaud-TimMcVicker, great find! The root of this issue is that In the interim while that discrepancy is still being resolved at the spec level, you can of course create the thread and run separately -- the |
Calling CreateThreadAndRunAsync with a RunCreationOptions parameter that sets AdditionalInstructions does not set that on the actual run. Creating the Thread and Run separately works correctly.
Package version: OpenAI 2.0.0-beta.5.
In both of the following examples, the Instructions on my assistant are "Be serious".
The following code results in a
threadRun
withInstructions
set to “Be serious”:The following code results in a
threadRun
withInstructions
set to “Be serious You need to be funny.”:The text was updated successfully, but these errors were encountered: