Skip to content

Conversation

sunyuhan1998
Copy link
Contributor

As mentioned in the issue, ZhiPuAiAssistantMessage also requires comprehensive Builder pattern support.

This PR follows the approach proposed in #3529 and includes the following changes:

  1. Adjusted the visibility of some fields and methods in the AssistantMessage Builder to support inheritance in the ZhiPuAiAssistantMessage Builder.
  2. Added a Builder for ZhiPuAiAssistantMessage.
  3. Added relevant unit tests.

Fixes #4454

…AiAssistantMessage` and included corresponding unit tests.

Signed-off-by: Sun Yuhan <[email protected]>
…Message` and modify related references to use `new` instead.

Signed-off-by: Sun Yuhan <[email protected]>
@ericbottard
Copy link
Member

Merged on main via 01082b8

@ericbottard ericbottard closed this Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ZhiPuAiAssistantMessage.builder() returned an unexpected type
4 participants