Fixing WithPromptsFromAssembly (#174)
* Fixing WithPromptsFromAssembly Was looking for tools * Fixing test
This commit is contained in:
parent
96fa96c1b2
commit
b9bb871787
1 changed files with 3 additions and 3 deletions
|
|
@ -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")]
|
||||
|
|
|
|||
Loading…
Reference in a new issue