Fix Stream Issues ...
This commit is contained in:
@@ -51,6 +51,19 @@ namespace xApi.Controllers.V1
|
||||
cancellationToken: cancellationToken
|
||||
);
|
||||
}
|
||||
|
||||
[HttpGet("AskStream")]
|
||||
[Authorize(Policy = XPolicies.EnabledUser)]
|
||||
public override async Task<ActionResult> AskStream(
|
||||
[FromQuery] string prompt,
|
||||
CancellationToken cancellationToken = default
|
||||
)
|
||||
{
|
||||
return await base.AskStream(
|
||||
prompt: prompt,
|
||||
cancellationToken: cancellationToken
|
||||
);
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user