last ...
This commit is contained in:
+6
-5
@@ -1,6 +1,8 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using xAiApi.DI;
|
||||
using System.Linq;
|
||||
using xAiModels.DI;
|
||||
using xTagService.DI;
|
||||
using System.Net.Http;
|
||||
using xAiApi.Database;
|
||||
@@ -9,13 +11,16 @@ using xPushService.DI;
|
||||
using xFileService.DI;
|
||||
using xDataService.DI;
|
||||
using Newtonsoft.Json;
|
||||
using xAiApi.Providers;
|
||||
using System.Reflection;
|
||||
using xAiApi.Extensions;
|
||||
using xStringService.DI;
|
||||
using xAiApi.Interfaces;
|
||||
using xStorageService.DI;
|
||||
using xIdentityService.DI;
|
||||
using xDataService.Models;
|
||||
using xCommons.Extensions;
|
||||
using xPushService.Helpers;
|
||||
using xCommons.Configurations;
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
@@ -25,11 +30,6 @@ using Newtonsoft.Json.Serialization;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using IdentityModel.AspNetCore.OAuth2Introspection;
|
||||
using xPushService.Helpers;
|
||||
using xAiApi.DI;
|
||||
using xAiApi.Interfaces;
|
||||
using xAiApi.Providers;
|
||||
using xAiModels.DI;
|
||||
|
||||
namespace xAiApi
|
||||
{
|
||||
@@ -189,6 +189,7 @@ namespace xAiApi
|
||||
// Register Default Ai Service ...
|
||||
services.AddScoped<IXDefaultAiService, XDefaultAiService>();
|
||||
services.AddScoped<IXDefaultEmbeddingService, XDefaultEmbeddingService>();
|
||||
services.AddScoped<IXDefaultThinkingAiService, XDefaultThinkingAiService>();
|
||||
}
|
||||
|
||||
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
|
||||
|
||||
Reference in New Issue
Block a user