Skip to content

Conversation

@ilayaperumalg
Copy link
Member

  • Deprecate existing ChatOptionsBuilder and its inner class DefaultChatOptions
  • Create a new builder interface ChatOptions.Builder for building the Chat options
  • Create an explicit DefaultChatOptions
  • Create DefaultChatOptionBuilder which can create DefaultChatOptions

Resolves #1875

 - Deprecate existing ChatOptionsBuilder and its inner class DefaultChatOptions
 - Create a new builder interface ChatOptions.Builder for building the Chat options
  - Create an explicit DefaultChatOptions
  - Create DefaultChatOptionBuilder which can create DefaultChatOptions

Resolves spring-projects#1875

import java.util.List;

@Deprecated(forRemoval = true, since = "1.0.0-M5")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need a @deprecated javadoc command to point users to the new implementation.

@markpollack
Copy link
Member

merged in f252b24

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.

DefaultChatOptions should not be an inner class ChatOptionsBuilder, the build method should be inside the interface ChatOptions

2 participants