From 9558aab6cebf177d7fe02a6b15c503f10c02e2e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=82=A5=E7=BE=8A?= <1048382248@qq.com> Date: Tue, 22 Apr 2025 11:17:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E6=9C=AA=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E7=9A=84IBserGPT?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Learn.VideoAnalysis.API/Expand/CoravelExpand.cs | 1 + VideoAnalysisCore/Controllers/ApiController.cs | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Learn.VideoAnalysis.API/Expand/CoravelExpand.cs b/Learn.VideoAnalysis.API/Expand/CoravelExpand.cs index cd419f2..4f5f1c2 100644 --- a/Learn.VideoAnalysis.API/Expand/CoravelExpand.cs +++ b/Learn.VideoAnalysis.API/Expand/CoravelExpand.cs @@ -20,6 +20,7 @@ namespace Learn.VideoAnalysis.API.Expand service.AddScheduler(); service.AddTransient(); service.AddTransient(); + } public static void UseCoravelExpand(this IApplicationBuilder provider) { diff --git a/VideoAnalysisCore/Controllers/ApiController.cs b/VideoAnalysisCore/Controllers/ApiController.cs index 4af8798..c9be825 100644 --- a/VideoAnalysisCore/Controllers/ApiController.cs +++ b/VideoAnalysisCore/Controllers/ApiController.cs @@ -25,13 +25,11 @@ namespace VideoAnalysisCore.Controllers private readonly IMapper mp; private readonly Repository videoTaskDB; private readonly Repository videoKonwDB; - private readonly IBserGPT chatGPT; public ApiController(Repository videoTaskDB, - IMapper mp, IBserGPT chatGPT, Repository videoKonwDB) + IMapper mp, Repository videoKonwDB) { this.videoTaskDB = videoTaskDB; this.mp = mp; - this.chatGPT = chatGPT; this.videoKonwDB = videoKonwDB; }