Skip to content
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

fix: Missing Beta assistant Header in CreateMessage #578

Closed
wants to merge 1 commit into from

Conversation

lowczarc
Copy link

Describe the change
Using CreateMessage currently returns this error: You must provide the 'OpenAI-Beta' header to access the Assistants API. Please try again by setting the header 'OpenAI-Beta: assistants=v1'.
It seems this was overlooked in #546

Describe your solution
I added the missing withBetaAssistantV1()

Tests
Manual tests

Additional context
N/A

@floodfx
Copy link
Contributor

floodfx commented Nov 14, 2023

Dupe of #566

@lowczarc lowczarc closed this Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants