Skip to content

Conversation

rkirkendall
Copy link

@rkirkendall rkirkendall commented Aug 30, 2025

Modernizing the OpenAIClient to use the newer and more robust Responses API to to unlock newer models, better structured output, and multimodal uses.

  • Added configuration option for API_MODE in config.ini to enable Responses API for local runs.
  • Updated OpenAIClient to handle both 'responses' and 'legacy' modes, preserving existing behavior while allowing for new functionality.
  • Implemented parameter mapping for Responses API, ensuring compatibility with legacy chat parameters.

This change aims to improve flexibility in API usage and facilitate a smoother transition to the new Responses API.

- Added configuration option for API_MODE in config.ini to enable Responses API for local runs.
- Updated OpenAIClient to handle both 'responses' and 'legacy' modes, preserving existing behavior while allowing for new functionality.
- Implemented parameter mapping for Responses API, ensuring compatibility with legacy chat parameters.

This change aims to improve flexibility in API usage and facilitate a smoother transition to the new Responses API.
@rkirkendall
Copy link
Author

@microsoft-github-policy-service agree

- Updated response extraction logic to prefer typed parsed output when available.
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