修复 未使用的IBserGPT

This commit is contained in:
小肥羊 2025-04-22 11:17:14 +08:00
parent d1bbce8baf
commit 9558aab6ce
2 changed files with 2 additions and 3 deletions

View File

@ -20,6 +20,7 @@ namespace Learn.VideoAnalysis.API.Expand
service.AddScheduler(); service.AddScheduler();
service.AddTransient<TaskFileClearJob>(); service.AddTransient<TaskFileClearJob>();
service.AddTransient<NodePackageJob>(); service.AddTransient<NodePackageJob>();
} }
public static void UseCoravelExpand(this IApplicationBuilder provider) public static void UseCoravelExpand(this IApplicationBuilder provider)
{ {

View File

@ -25,13 +25,11 @@ namespace VideoAnalysisCore.Controllers
private readonly IMapper mp; private readonly IMapper mp;
private readonly Repository<VideoTask> videoTaskDB; private readonly Repository<VideoTask> videoTaskDB;
private readonly Repository<VideoKonwPoint> videoKonwDB; private readonly Repository<VideoKonwPoint> videoKonwDB;
private readonly IBserGPT chatGPT;
public ApiController(Repository<VideoTask> videoTaskDB, public ApiController(Repository<VideoTask> videoTaskDB,
IMapper mp, IBserGPT chatGPT, Repository<VideoKonwPoint> videoKonwDB) IMapper mp, Repository<VideoKonwPoint> videoKonwDB)
{ {
this.videoTaskDB = videoTaskDB; this.videoTaskDB = videoTaskDB;
this.mp = mp; this.mp = mp;
this.chatGPT = chatGPT;
this.videoKonwDB = videoKonwDB; this.videoKonwDB = videoKonwDB;
} }