Skip to content

Commit 694876e

Browse files
committed
update PromptReference, add identifier language
1 parent ffd8e6c commit 694876e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

schema/draft/schema.json

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

schema/draft/schema.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ export interface ServerCapabilities {
264264
}
265265

266266
/**
267-
* Base interface for metadata with name and title (display name) properties.
267+
* Base interface for metadata with name (identifier) and title (display name) properties.
268268
*/
269269
export interface BaseMetadata {
270270
/**
@@ -1188,12 +1188,8 @@ export interface ResourceTemplateReference {
11881188
/**
11891189
* Identifies a prompt.
11901190
*/
1191-
export interface PromptReference {
1191+
export interface PromptReference extends BaseMetadata{
11921192
type: "ref/prompt";
1193-
/**
1194-
* The name of the prompt or prompt template
1195-
*/
1196-
name: string;
11971193
}
11981194

11991195
/* Roots */

0 commit comments

Comments
 (0)