This commit is contained in:
2026-11-08 17:59:19 +03:30
parent 1b09b4f6a0
commit 63b922f09b
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -112,6 +112,10 @@ namespace xAiMcpServer
app.UseHsts(); app.UseHsts();
} }
//
// Setting Environment in App Confiuration ...
app.AddEnvironmentToXAppConfiguration(env.EnvironmentName);
// //
// Force Https Redirection ... // Force Https Redirection ...
app.UseHttpsRedirection(); app.UseHttpsRedirection();
+1 -1
View File
@@ -28,7 +28,7 @@ namespace xAiMcpServer.Tools
[XAiMcpTool( [XAiMcpTool(
RequiresAuthentication = true, RequiresAuthentication = true,
RequiredPolicy = XPolicies.EnabledUser, RequiredPolicy = XPolicies.EnabledUser,
Description = "Get information about the currently logged-in user.")] Description = "when user asks anything about itself, use this to retrieve user information.")]
public async Task<string> WhoAmI() public async Task<string> WhoAmI()
{ {
// //