Skip to content

Commit 3764c48

Browse files
yasmewadadwsingh
authored andcommitted
Fixed the selector for prompts trait.
The selector had incorrect syntax from my local testing where it would really only be applied to a service shape. This corrects it.
1 parent 5d74ca9 commit 3764c48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcp/mcp-traits/model/prompts.smithy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ $version: "2"
33
namespace amazon.smithy.llm
44

55
// Prompt template trait - applied at operation level to provide guidance to LLMs
6-
@trait(selector: "service, resource, operation")
6+
@trait(selector: ":is(service, resource, operation)")
77
map prompts {
88
/// Name of the prompt template
99
key: String

0 commit comments

Comments
 (0)