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