Skip to content

Conversation

sunyuhan1998
Copy link
Contributor

@sunyuhan1998 sunyuhan1998 commented Sep 23, 2025

As mentioned in the issue, DeepSeekAssistantMessage 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 DeepSeekAssistantMessage Builder.
  2. Added a Builder for DeepSeekAssistantMessage.
  3. Added relevant unit tests.
  4. Fixed the bug in the toString method

Fixes #4452

…eekAssistantMessage` and included corresponding unit tests.

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

Signed-off-by: Sun Yuhan <[email protected]>
@sunyuhan1998
Copy link
Contributor Author

Hi @ericbottard , I've made some adjustments in the current PR, implementing the solution we finalized in #4457. Could you please help review it again? Thanks so much!

@ericbottard
Copy link
Member

Merged on main via 7d0aff0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DeepSeekAssistantMessage.builder() returned an unexpected type

3 participants