Skip to content

fix(OpenAI): Preserve function call namespaces#788

Merged
iBotPeaches merged 4 commits into
openai-php:mainfrom
e4se:fix-function-namespace
Jul 20, 2026
Merged

fix(OpenAI): Preserve function call namespaces#788
iBotPeaches merged 4 commits into
openai-php:mainfrom
e4se:fix-function-namespace

Conversation

@e4se

@e4se e4se commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

What:

  • Bug Fix
  • New Feature

Description:

Preserve the optional namespace returned for namespaced Responses API function calls. Regular function calls without a namespace remain supported and expose a null namespace value.

This also adds coverage for parsing, array access, serialization, and responses without the optional namespace field.

@iBotPeaches
iBotPeaches merged commit bc24eda into openai-php:main Jul 20, 2026
14 checks passed
@iBotPeaches iBotPeaches added this to the v0.20.1 milestone Jul 20, 2026
@iBotPeaches

Copy link
Copy Markdown
Collaborator

thanks!

@e4se
e4se deleted the fix-function-namespace branch July 20, 2026 11:54
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