parent
36a70a03f8
commit
5cc7c00456
1 changed files with 480 additions and 22 deletions
|
|
@ -46,7 +46,7 @@ builder.Services
|
|||
{
|
||||
subscriptions.Add(uri);
|
||||
|
||||
await ctx.Server.RequestSamplingAsync([
|
||||
await ctx.Server.SampleAsync([
|
||||
new ChatMessage(ChatRole.System, "You are a helpful test server"),
|
||||
new ChatMessage(ChatRole.User, $"Resource {uri}, context: A new subscription was started"),
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in a new issue