- 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:
@@ -101,6 +101,10 @@
|
||||
"MaxImageWidth": 2000,
|
||||
"MinTextLengthThreshold": 50,
|
||||
"MaxPagesForImageFallback": 0
|
||||
},
|
||||
"ProxyConfiguration": {
|
||||
"Enabled": true,
|
||||
"RoutePrefix": "/ai-model"
|
||||
}
|
||||
},
|
||||
"Logging": {
|
||||
|
||||
Reference in New Issue
Block a user