Skip to content

DeepSeekAssistantMessage.builder() returned an unexpected type #4452

@sunyuhan1998

Description

@sunyuhan1998

Bug description
Since we recently added support for the Builder pattern to AssistantMessage, this causes classes like DeepSeekAssistantMessage—which inherit from AssistantMessage—to also inherit the builder of AssistantMessage, which is clearly problematic.

Steps to reproduce
Try using DeepSeekAssistantMessage.builder().build(), and you'll get an AssistantMessage instead of a DeepSeekAssistantMessage.

Expected behavior
DeepSeekAssistantMessage.builder().build() should return a DeepSeekAssistantMessage.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions