Skip to content

feat: add mutate functionality for OpenAiApi and OpenAiChatModel #3037

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

markpollack
Copy link
Member

  • Introduced mutate() methods to OpenAiApi and OpenAiChatModel, enabling creation of new builder instances from existing objects.
  • Allows safe modification and copying of configuration for APIs and models.
  • Refactored internal fields and getters to support mutation/copy patterns.
  • Updated integration tests to leverage mutate for dynamic client creation.

…ders

- Introduced mutate() methods to OpenAiApi and OpenAiChatModel, enabling creation of new builder instances from existing objects.
- Allows safe modification and copying of configuration for APIs and models.
- Refactored internal fields and getters to support mutation/copy patterns.
- Updated integration tests to leverage mutate for dynamic client creation.
@markpollack markpollack added this to the 1.0.0-RC1 milestone May 8, 2025
@sobychacko sobychacko changed the title [WIP] feat: add mutate functionality for OpenAiApi and OpenAiChatModel feat: add mutate functionality for OpenAiApi and OpenAiChatModel May 8, 2025
@sobychacko
Copy link
Contributor

Merged via 9774b4e. Added some checkstyle fixes.

@sobychacko sobychacko closed this May 8, 2025
@sobychacko sobychacko added the enhancement New feature or request label May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants