Skip to content

feat(lib): export type_to_response_format_param publicly#2993

Open
Bortlesboat wants to merge 1 commit intoopenai:mainfrom
Bortlesboat:export-response-format-param
Open

feat(lib): export type_to_response_format_param publicly#2993
Bortlesboat wants to merge 1 commit intoopenai:mainfrom
Bortlesboat:export-response-format-param

Conversation

@Bortlesboat
Copy link

Closes #2695

Summary

  • Exports type_to_response_format_param from openai.lib so users can import it without reaching into private modules

Currently users must import from openai.lib._parsing._completions, which is an internal path. This adds it to the public openai.lib namespace alongside the other publicly exported helpers.

Test plan

  • Verified from openai.lib import type_to_response_format_param works
  • No behavior change — just a re-export

Add type_to_response_format_param to the public openai.lib namespace
so users don't need to import from internal _parsing._completions path.
@Bortlesboat Bortlesboat requested a review from a team as a code owner March 20, 2026 02:21
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.

Include type_to_response_format_param in public API

1 participant