Skip to content

Commit e8568dd

Browse files
evalstatebhosmer-ant
authored andcommitted
update to is-a rather than contains-a relationship for linked resource.
1 parent f156eb7 commit e8568dd

File tree

2 files changed

+28
-7
lines changed

2 files changed

+28
-7
lines changed

schema/draft/schema.json

Lines changed: 27 additions & 4 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: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -645,12 +645,10 @@ export interface PromptMessage {
645645
* of the LLM and/or the user.
646646
*
647647
*/
648-
export interface LinkedResource {
648+
export interface LinkedResource extends Resource {
649649
type: "linkedresource";
650-
resource: Resource;
651650
}
652651

653-
654652
/**
655653
* The contents of a resource, embedded into a prompt or tool call result.
656654
*

0 commit comments

Comments
 (0)