This commit is contained in:
2026-04-16 16:02:03 +03:30
parent 51d07f1cba
commit 98d5354c36
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ using xAiService.Interfaces;
using xCommons.Attributes;
using xCommons.Configurations;
using xCommons.Providers;
using xIdentityHelper;
using xIdentityService.Interfaces;
namespace xApi.Controllers.V1
@@ -38,8 +39,8 @@ namespace xApi.Controllers.V1
//
#region Text Actions ...
[AllowAnonymous]
[HttpGet("Ask")]
[Authorize(Policy = XPolicies.EnabledUser)]
public override async Task<ActionResult<string>> Ask(
[FromQuery] string prompt,
CancellationToken cancellationToken = default