Fixing WithPromptsFromAssembly (#174)

* Fixing WithPromptsFromAssembly

Was looking for tools

* Fixing test
This commit is contained in:
Aaron Powell 2025-04-01 11:59:31 +11:00 • committed by GitHub
commit b9bb871787
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -218,7 +218,7 @@ public class McpServerBuilderExtensionsPromptsTests : LoggedTest, IAsyncDisposab
Assert.Contains(services.GetServices<McpServerPrompt>(), t => t.ProtocolPrompt.Name == nameof(MorePrompts.AnotherPrompt));
}
[McpServerToolType]
[McpServerPromptType]
public sealed class SimplePrompts(ObjectWithId? id = null)
{
[McpServerPrompt, Description("Returns chat messages")]