Skip to content

Conversation

@apappascs
Copy link
Contributor

This commit enhances MoonshotChatOptions by:

  • Updating equals and hashCode methods for proper object comparison.
  • Updating copy() method, creating new instances of mutable collections (List, Set, Map, Metadata) to prevent shared state.
  • Adding MoonshotChatOptionsTests to verify copy(), builders, setters, and default values.

This commit enhances MoonshotChatOptions by:

- Updating equals and hashCode methods for proper object comparison.
- Updating copy() method, creating new instances of mutable collections (List, Set, Map, Metadata) to prevent shared state.
- Adding MoonshotChatOptionsTests to verify copy(), builders, setters, and default values.

Signed-off-by: Alexandros Pappas <[email protected]>
@apappascs apappascs force-pushed the feat/moonshot-chat-options-equals-hashcode-copy-tests branch from 33f7e5b to 0da6b19 Compare March 2, 2025 14:00
@markpollack markpollack self-assigned this Jun 6, 2025
@markpollack
Copy link
Member

@mxsl-gr FYI. I created an issue in the moonshot repo - spring-ai-community/moonshot#7 Closing this one

@markpollack markpollack closed this Jun 6, 2025
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.

2 participants