Skip to content

fix(responses): add top-level ResponseNewParams alias#672

Open
MukundaKatta wants to merge 1 commit into
openai:mainfrom
MukundaKatta:codex/response-new-params-alias
Open

fix(responses): add top-level ResponseNewParams alias#672
MukundaKatta wants to merge 1 commit into
openai:mainfrom
MukundaKatta:codex/response-new-params-alias

Conversation

@MukundaKatta
Copy link
Copy Markdown

Fixes #607.

Summary

  • add a root-package alias for responses.ResponseNewParams so examples using openai.ResponseNewParams compile
  • add a regression test covering the issue sample shape without making a network call

Tests

  • go test . -run TestResponseNewParamsTopLevelAlias -count=1
  • go test . -count=1 (fails locally because the existing generated integration tests require a localhost:4010 mock server)

@MukundaKatta MukundaKatta requested a review from a team as a code owner May 15, 2026 15:31
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.

Undefined openai.ResponseNewParams in openai-go sdk

1 participant