Skip to content

Conversation

iBotPeaches
Copy link
Collaborator

What:

  • Bug Fix
  • New Feature

Description:

OpenAI appears to be testing the brownout/shutdown of Assistants API. This becomes bad as it takes down the entire SDK due to applying a header by default that is now disallowed.

OpenAI\Exceptions\ErrorException Unknown beta requested: 'assistants'.

This re-engineers headers to be attached at resource level so only the relevant endpoints (ie Assisstants) get the header. This prevents endpoints like Conversation or Response dying from a random included OpenAI-Beta header.

@iBotPeaches iBotPeaches mentioned this pull request Sep 23, 2025
23 tasks
@iBotPeaches iBotPeaches merged commit b42fe2f into main Sep 27, 2025
24 checks passed
@iBotPeaches iBotPeaches added this to the v0.17.0 milestone Sep 27, 2025
@iBotPeaches iBotPeaches deleted the no-default-header branch September 27, 2025 12:39
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.

1 participant