Skip to content

feat: 添加ChatCommand支持类型#116

Open
goten7 wants to merge 1 commit intojetlinks:masterfrom
goten7:feat-chat
Open

feat: 添加ChatCommand支持类型#116
goten7 wants to merge 1 commit intojetlinks:masterfrom
goten7:feat-chat

Conversation

@goten7
Copy link
Contributor

@goten7 goten7 commented Mar 10, 2026

No description provided.

@goten7
Copy link
Contributor Author

goten7 commented Mar 10, 2026

@zhou-hao 大佬麻烦看看这个

@Setter
public class AiGenerationChatRequest extends ChatRequest<AiGenerationChatRequest> {
private String content;
private List<FileInfo> files;
Copy link
Member

Choose a reason for hiding this comment

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

复用UploadFileInfo?


@Getter
@Setter
public class AiGenerationChatResponse extends ChatResponse<AiGenerationChatResponse> {
Copy link
Member

Choose a reason for hiding this comment

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

GenerationChatResponse
实现writeExternal readExternal 方法


@AllArgsConstructor
@Getter
public enum DefaultChatType {
Copy link
Member

Choose a reason for hiding this comment

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

这个逻辑不需要在sdk里定义吧?


@Getter
@Setter
public class AiGenerationChatRequest extends ChatRequest<AiGenerationChatRequest> {
Copy link
Member

Choose a reason for hiding this comment

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

GenerationChatRequest 实现writeExternal readExternal 否则可能无法序列化

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