refactor: 重构AI聊天服务为流式返回,优化OOS路径与仓库初始化逻辑
1. 重构AI聊天接口与实现为流式返回,支持SSE协议 2. 修正BaseRepository的数据库上下文初始化逻辑 3. 更新AutoDotCodeConsumer的OOS存储路径 4. 新增阿里云OSS配置项到appsettings 5. 优化AiChatService的日志与代码注释
This commit is contained in:
@ -235,7 +235,7 @@ public class AutoDotCodeConsumer(IConfiguration configuration,
|
||||
|
||||
#region 把本地文集上传到OOS上
|
||||
|
||||
var tempOssDownloadKey = "BookPagePdf/download/" + downloadFileName;
|
||||
var tempOssDownloadKey = "Journal/download/" + downloadFileName;
|
||||
|
||||
const int bufferSize = 1 * 1024 * 1024; // 1MB
|
||||
|
||||
|
||||
Reference in New Issue
Block a user