File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed
packages/models-library/src/models_library/api_schemas_webserver Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ class SlideshowUI(TypedDict):
4040
4141
4242class AnnotationUI (BaseModel ):
43- type : Literal ["note" , "rect" , "text" ]
43+ type : Literal ["note" , "rect" , "text" , "conversation" ]
4444 color : Annotated [Color , PlainSerializer (Color .as_hex )]
4545 attributes : Annotated [dict , Field (description = "svg attributes" )]
4646
@@ -71,6 +71,15 @@ def _update_json_schema_extra(schema: JsonDict) -> None:
7171 "color" : "#0000FF" ,
7272 "attributes" : {"x" : 415 , "y" : 100 , "text" : "Hey!" },
7373 },
74+ {
75+ "type" : "conversation" ,
76+ "attributes" : {
77+ "conversationId" : 2 ,
78+ "x" : 415 ,
79+ "y" : 100 ,
80+ "title" : "My chat" ,
81+ },
82+ },
7483 ]
7584 },
7685 )
@@ -169,6 +178,15 @@ def _update_json_schema_extra(schema: JsonDict) -> None:
169178 "fontSize" : 12 ,
170179 },
171180 },
181+ "cf94f068-259c-4192-89f9-b2a56d51249d" : {
182+ "type" : "conversation" ,
183+ "attributes" : {
184+ "conversationId" : 2 ,
185+ "x" : 119 ,
186+ "y" : 223 ,
187+ "title" : "My chat" ,
188+ },
189+ },
172190 },
173191 "current_node_id" : "4b3345e5-861f-47b0-8b52-a4508449be79" ,
174192 "template_type" : "hypertool" ,
You can’t perform that action at this time.
0 commit comments