allow user to upload attachment for mobile chat page

This commit is contained in:
RockYang
2025-09-08 08:43:32 +08:00
parent 18961d3c26
commit 8b2cf90aab
10 changed files with 357 additions and 114 deletions

View File

@@ -345,6 +345,7 @@ func (h *ChatHandler) sendMessage(ctx context.Context, input ChatInput, c *gin.C
continue
} else {
fileContents = append(fileContents, fmt.Sprintf("%s 文件内容:%s", file.Name, content))
logger.Debugf("fileContents: %s", fileContents)
}
}
}