last ...
This commit is contained in:
@@ -112,6 +112,10 @@ namespace xAiMcpServer
|
||||
app.UseHsts();
|
||||
}
|
||||
|
||||
//
|
||||
// Setting Environment in App Confiuration ...
|
||||
app.AddEnvironmentToXAppConfiguration(env.EnvironmentName);
|
||||
|
||||
//
|
||||
// Force Https Redirection ...
|
||||
app.UseHttpsRedirection();
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@ namespace xAiMcpServer.Tools
|
||||
[XAiMcpTool(
|
||||
RequiresAuthentication = true,
|
||||
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()
|
||||
{
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user