last ...
This commit is contained in:
@@ -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
@@ -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()
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user