feat: 去除所有接口中的 vo

pull/158/head
xingyu4j 2025-06-25 18:51:13 +08:00
parent c59ebbecfd
commit ab4e467b45
3 changed files with 3 additions and 9 deletions

View File

@ -260,9 +260,7 @@ async function handleClearConversation() {
}
/** 对话置顶 */
async function handleTop(
conversation: AiChatConversationApi.ChatConversation,
) {
async function handleTop(conversation: AiChatConversationApi.ChatConversation) {
//
conversation.pinned = !conversation.pinned;
await updateChatConversationMy(conversation);

View File

@ -307,9 +307,7 @@ async function doSendMessage(content: string) {
}
/** 真正执行【发送】消息操作 */
async function doSendMessageStream(
userMessage: AiChatMessageApi.ChatMessage,
) {
async function doSendMessageStream(userMessage: AiChatMessageApi.ChatMessage) {
// AbortController 便
conversationInAbortController.value = new AbortController();
//

View File

@ -93,9 +93,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
});
/** 修改是否发布 */
async function handleStatusChange(
row: AiKnowledgeSegmentApi.KnowledgeSegment,
) {
async function handleStatusChange(row: AiKnowledgeSegmentApi.KnowledgeSegment) {
try {
//
const text = row.status ? '启用' : '禁用';