Remove unessesary $ and fix some typos (#305)
This commit is contained in:
parent
9c124b1770
commit
dc544f929b
1 changed files with 8 additions and 8 deletions
|
|
@ -263,7 +263,7 @@ internal sealed class AIFunctionMcpServerPrompt : McpServerPrompt
|
|||
Messages = [.. chatMessages.SelectMany(chatMessage => chatMessage.ToPromptMessages())],
|
||||
},
|
||||
|
||||
null => throw new InvalidOperationException($"Null result returned from prompt function."),
|
||||
null => throw new InvalidOperationException("Null result returned from prompt function."),
|
||||
|
||||
_ => throw new InvalidOperationException($"Unknown result type '{result.GetType()}' returned from prompt function."),
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue