Update to M.E.AI 9.7.0 (#602)
This commit is contained in:
parent
984aa9ae1b
commit
1232456153
1 changed files with 10 additions and 10 deletions
|
|
@ -64,6 +64,11 @@ public static class McpServerExtensions
|
|||
|
||||
StringBuilder? systemPrompt = null;
|
||||
|
||||
if (options?.Instructions is { } instructions)
|
||||
{
|
||||
(systemPrompt ??= new()).Append(instructions);
|
||||
}
|
||||
|
||||
List<SamplingMessage> samplingMessages = [];
|
||||
foreach (var message in messages)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue