Include docs samples in solution build (#751)
* Include docs samples in solution build * Update workflow to build for doc updates * Fix build error
This commit is contained in:
parent
4855a3668c
commit
acf6eb2e6b
1 changed files with 35 additions and 8 deletions
|
|
@ -56,13 +56,13 @@ foreach (var block in result.Content)
|
|||
async ValueTask<ElicitResult> HandleElicitationAsync(ElicitRequestParams? requestParams, CancellationToken token)
|
||||
{
|
||||
// Bail out if the requestParams is null or if the requested schema has no properties
|
||||
if (requestParams?.RequestedSchema?.Properties == null)
|
||||
if (requestParams is null || requestParams.RequestedSchema?.Properties is null)
|
||||
{
|
||||
return new ElicitResult();
|
||||
}
|
||||
|
||||
// Process the elicitation request
|
||||
if (requestParams?.Message is not null)
|
||||
if (requestParams.Message is not null)
|
||||
{
|
||||
Console.WriteLine(requestParams.Message);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue