Remove unessesary $ and fix some typos (#305)

This commit is contained in:
Mike Alhayek 2025-04-14 07:47:13 -07:00 • committed by GitHub
commit dc544f929b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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."),
};