- Add Proxy Configuration in AppSettings;

- Remap Proxy Configurations in AiApiConfiguration;
- Implement AiModelProxy Middleware for Proxifing Requests to Models;
- ad DI Extensions Method for Handling Proxy Middleware Usage in AiApi;
- Implement Proxy Middleware for Handling Proxifying Requests to Models for Test;
This commit is contained in:
2026-10-23 19:58:35 +03:30
parent 0e3d6249a2
commit 4b857de518
7 changed files with 611 additions and 3 deletions
+4
View File
@@ -219,6 +219,10 @@ namespace xAiApi
// Using Cors ...
app.UseXCors();
//
// Enable Model Proxy ...
app.UseXAiModelProxy();
//
// Using Routing ...
app.UseRouting();