├── .dockerignore ├── .gitattributes ├── .github └── workflows │ └── docker-image.yml ├── .gitignore ├── Configuration ├── DatabaseConfiguration.cs └── RequestLoggingOptions.cs ├── Controllers ├── AdminController.cs ├── AnthropicController.cs ├── AuthController.cs ├── GeminiController.cs ├── HealthCheckReportController.cs ├── HealthController.cs ├── LogQueueController.cs ├── TransparentStreamingActionResult.cs └── V1Controller.cs ├── Dockerfile ├── LICENSE ├── Middleware └── AuthenticationMiddleware.cs ├── Models ├── ApiModels.cs ├── DatabaseModels.cs ├── HealthCheckAnalysis.cs └── LogQueueItem.cs ├── OrchestrationApi.csproj ├── Program.cs ├── Properties └── launchSettings.json ├── README.md ├── Services ├── Background │ ├── AsyncLogProcessingService.cs │ ├── HealthCheckBackgroundService.cs │ ├── KeyHealthCheckService.cs │ └── LogCleanupService.cs ├── Core │ ├── HealthCheckService.cs │ ├── IHealthCheckService.cs │ ├── IKeyManager.cs │ ├── IMultiProviderService.cs │ ├── IProviderRouter.cs │ ├── IRequestLogger.cs │ ├── IVersionService.cs │ ├── LogQueueHealthCheck.cs │ ├── ProxyHttpClientService.cs │ └── VersionService.cs └── Providers │ ├── AnthropicProvider.cs │ ├── GeminiProvider.cs │ ├── ILLMProvider.cs │ ├── OpenAiProvider.cs │ └── ProviderFactory.cs ├── Utils └── ApiKeyMaskingUtils.cs ├── appsettings.json ├── docker-compose.dev.yml ├── docker-compose.yml └── wwwroot ├── css ├── dashboard.css ├── login.css ├── logs.css └── modal-components.css ├── dashboard.html ├── favicon.ico ├── favicon.png ├── favicon.svg ├── health-report.html ├── js ├── dashboard.js ├── health-report.js ├── login.js ├── logs.js ├── modal-components.js └── serilog.js ├── login.html ├── logs.html └── serilog.html /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/.dockerignore -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto -------------------------------------------------------------------------------- /.github/workflows/docker-image.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/.github/workflows/docker-image.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/.gitignore -------------------------------------------------------------------------------- /Configuration/DatabaseConfiguration.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Configuration/DatabaseConfiguration.cs -------------------------------------------------------------------------------- /Configuration/RequestLoggingOptions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Configuration/RequestLoggingOptions.cs -------------------------------------------------------------------------------- /Controllers/AdminController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Controllers/AdminController.cs -------------------------------------------------------------------------------- /Controllers/AnthropicController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Controllers/AnthropicController.cs -------------------------------------------------------------------------------- /Controllers/AuthController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Controllers/AuthController.cs -------------------------------------------------------------------------------- /Controllers/GeminiController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Controllers/GeminiController.cs -------------------------------------------------------------------------------- /Controllers/HealthCheckReportController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Controllers/HealthCheckReportController.cs -------------------------------------------------------------------------------- /Controllers/HealthController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Controllers/HealthController.cs -------------------------------------------------------------------------------- /Controllers/LogQueueController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Controllers/LogQueueController.cs -------------------------------------------------------------------------------- /Controllers/TransparentStreamingActionResult.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Controllers/TransparentStreamingActionResult.cs -------------------------------------------------------------------------------- /Controllers/V1Controller.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Controllers/V1Controller.cs -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/LICENSE -------------------------------------------------------------------------------- /Middleware/AuthenticationMiddleware.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Middleware/AuthenticationMiddleware.cs -------------------------------------------------------------------------------- /Models/ApiModels.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Models/ApiModels.cs -------------------------------------------------------------------------------- /Models/DatabaseModels.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Models/DatabaseModels.cs -------------------------------------------------------------------------------- /Models/HealthCheckAnalysis.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Models/HealthCheckAnalysis.cs -------------------------------------------------------------------------------- /Models/LogQueueItem.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Models/LogQueueItem.cs -------------------------------------------------------------------------------- /OrchestrationApi.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/OrchestrationApi.csproj -------------------------------------------------------------------------------- /Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Program.cs -------------------------------------------------------------------------------- /Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Properties/launchSettings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/README.md -------------------------------------------------------------------------------- /Services/Background/AsyncLogProcessingService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Services/Background/AsyncLogProcessingService.cs -------------------------------------------------------------------------------- /Services/Background/HealthCheckBackgroundService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Services/Background/HealthCheckBackgroundService.cs -------------------------------------------------------------------------------- /Services/Background/KeyHealthCheckService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Services/Background/KeyHealthCheckService.cs -------------------------------------------------------------------------------- /Services/Background/LogCleanupService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Services/Background/LogCleanupService.cs -------------------------------------------------------------------------------- /Services/Core/HealthCheckService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Services/Core/HealthCheckService.cs -------------------------------------------------------------------------------- /Services/Core/IHealthCheckService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Services/Core/IHealthCheckService.cs -------------------------------------------------------------------------------- /Services/Core/IKeyManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Services/Core/IKeyManager.cs -------------------------------------------------------------------------------- /Services/Core/IMultiProviderService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Services/Core/IMultiProviderService.cs -------------------------------------------------------------------------------- /Services/Core/IProviderRouter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Services/Core/IProviderRouter.cs -------------------------------------------------------------------------------- /Services/Core/IRequestLogger.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Services/Core/IRequestLogger.cs -------------------------------------------------------------------------------- /Services/Core/IVersionService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Services/Core/IVersionService.cs -------------------------------------------------------------------------------- /Services/Core/LogQueueHealthCheck.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Services/Core/LogQueueHealthCheck.cs -------------------------------------------------------------------------------- /Services/Core/ProxyHttpClientService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Services/Core/ProxyHttpClientService.cs -------------------------------------------------------------------------------- /Services/Core/VersionService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Services/Core/VersionService.cs -------------------------------------------------------------------------------- /Services/Providers/AnthropicProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Services/Providers/AnthropicProvider.cs -------------------------------------------------------------------------------- /Services/Providers/GeminiProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Services/Providers/GeminiProvider.cs -------------------------------------------------------------------------------- /Services/Providers/ILLMProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Services/Providers/ILLMProvider.cs -------------------------------------------------------------------------------- /Services/Providers/OpenAiProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Services/Providers/OpenAiProvider.cs -------------------------------------------------------------------------------- /Services/Providers/ProviderFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Services/Providers/ProviderFactory.cs -------------------------------------------------------------------------------- /Utils/ApiKeyMaskingUtils.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/Utils/ApiKeyMaskingUtils.cs -------------------------------------------------------------------------------- /appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/appsettings.json -------------------------------------------------------------------------------- /docker-compose.dev.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/docker-compose.dev.yml -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /wwwroot/css/dashboard.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/wwwroot/css/dashboard.css -------------------------------------------------------------------------------- /wwwroot/css/login.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/wwwroot/css/login.css -------------------------------------------------------------------------------- /wwwroot/css/logs.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/wwwroot/css/logs.css -------------------------------------------------------------------------------- /wwwroot/css/modal-components.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/wwwroot/css/modal-components.css -------------------------------------------------------------------------------- /wwwroot/dashboard.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/wwwroot/dashboard.html -------------------------------------------------------------------------------- /wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/wwwroot/favicon.ico -------------------------------------------------------------------------------- /wwwroot/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/wwwroot/favicon.png -------------------------------------------------------------------------------- /wwwroot/favicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/wwwroot/favicon.svg -------------------------------------------------------------------------------- /wwwroot/health-report.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/wwwroot/health-report.html -------------------------------------------------------------------------------- /wwwroot/js/dashboard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/wwwroot/js/dashboard.js -------------------------------------------------------------------------------- /wwwroot/js/health-report.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/wwwroot/js/health-report.js -------------------------------------------------------------------------------- /wwwroot/js/login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/wwwroot/js/login.js -------------------------------------------------------------------------------- /wwwroot/js/logs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/wwwroot/js/logs.js -------------------------------------------------------------------------------- /wwwroot/js/modal-components.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/wwwroot/js/modal-components.js -------------------------------------------------------------------------------- /wwwroot/js/serilog.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/wwwroot/js/serilog.js -------------------------------------------------------------------------------- /wwwroot/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/wwwroot/login.html -------------------------------------------------------------------------------- /wwwroot/logs.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/wwwroot/logs.html -------------------------------------------------------------------------------- /wwwroot/serilog.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiaoyutx94/OrchestrationApi/HEAD/wwwroot/serilog.html --------------------------------------------------------------------------------