Files
xAiMcpServer/appsettings.json
T
saherelm 1b09b4f6a0 - افزودن XLinkExtractionTool برای استخراج لینک‌های HTTP/HTTPS از متن و HTML.
- افزودن قابلیت دریافت و استخراج متن قابل‌خواندن از محتوای صفحات وب.
- افزودن تنظیمات XAiMcpLinkExtractionToolConfiguration برای MaxLinks و MaxChars.
- افزودن مدل‌های XExtractedLink، XLinkBundle و XLinkContentResult.
- ثبت ابزار و تنظیمات جدید در DI و ConfigurationNodeNames.
2026-11-07 22:50:17 +03:30

58 lines
1.6 KiB
JSON

{
"Version": "0.1",
"Name": "xAiMcpServer",
"DefaultLanguage": "fa-IR",
"XPoweredValue": "SaherElmITCenter",
"WelcomeMessage": "Welcome to xSaherElm Project's AI Mcp Server",
"SwaggerConfiguration": {
"Version": "v1.0",
"Title": "xSaherElm AI Mcp Server",
"Description": "Complete AI Mcp Server Documentation",
"Contact": {
"Name": "Hadi Khazaee Asl",
"Email": "hadi_khazaee_asl@yahoo.com",
"Url": "https://www.saherelm.ir"
}
},
"AllowedOrigins": [
"http://localhost:6000",
"https://localhost:6001",
"http://api.saherelm.ir",
"https://api.saherelm.ir",
"http://api.saherelmhub.ir",
"https://api.saherelmhub.ir"
],
"IdentityServiceConfiguration": {
"Authority": "https://localhost:4001",
"ApiName": "xSaherElmAPI",
"ApiSecret": "s@H@1694056",
"ClientId": "xSaherElmAPIClient",
"ClientSecret": "s@H@1694056",
"XPoweredValue": "SaherElmITCenter",
"XRevisionSecretKey": "SaherElmITCenter@1694056",
"DefaultClientTimeout": -1
},
"LinkExtractionToolConfiguration": {
"MaxLinks": 5,
"MaxChars": 8000
},
"WebSearchToolConfiguration": {
"Region": "wt-wt",
"TimeoutSeconds": 20,
"DefaultMaxResults": 5,
"CacheTtlSeconds": 600,
"EnableLiteFallback": true,
"MinDelayMilliseconds": 1000,
"HtmlEndpoint": "https://html.duckduckgo.com/html/",
"LiteEndpoint": "https://lite.duckduckgo.com/lite/"
},
"Logging": {
"LogLevel": {
"Microsoft": "Warning",
"Default": "Information",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*"
}