File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16485,21 +16485,13 @@
1648516485 "title": "Response",
1648616486 "description": "Human-readable outcome of the delete operation.",
1648716487 "readOnly": true
16488- },
16489- "success": {
16490- "type": "boolean",
16491- "title": "Success",
16492- "description": "Successful response flag.",
16493- "deprecated": true,
16494- "readOnly": true
1649516488 }
1649616489 },
1649716490 "type": "object",
1649816491 "required": [
1649916492 "deleted",
1650016493 "prompt_id",
16501- "response",
16502- "success"
16494+ "response"
1650316495 ],
1650416496 "title": "PromptDeleteResponse",
1650516497 "description": "Result of deleting a stored prompt (always HTTP 200, like conversations v2).",
@@ -19990,21 +19982,13 @@
1999019982 "title": "Response",
1999119983 "description": "Human-readable outcome of the delete operation.",
1999219984 "readOnly": true
19993- },
19994- "success": {
19995- "type": "boolean",
19996- "title": "Success",
19997- "description": "Successful response flag.",
19998- "deprecated": true,
19999- "readOnly": true
2000019985 }
2000119986 },
2000219987 "type": "object",
2000319988 "required": [
2000419989 "deleted",
2000519990 "vector_store_id",
20006- "response",
20007- "success"
19991+ "response"
2000819992 ],
2000919993 "title": "VectorStoreDeleteResponse",
2001019994 "description": "Result of deleting a vector store (always HTTP 200).",
@@ -20134,21 +20118,13 @@
2013420118 "title": "Response",
2013520119 "description": "Human-readable outcome of the delete operation.",
2013620120 "readOnly": true
20137- },
20138- "success": {
20139- "type": "boolean",
20140- "title": "Success",
20141- "description": "Successful response flag.",
20142- "deprecated": true,
20143- "readOnly": true
2014420121 }
2014520122 },
2014620123 "type": "object",
2014720124 "required": [
2014820125 "deleted",
2014920126 "file_id",
20150- "response",
20151- "success"
20127+ "response"
2015220128 ],
2015320129 "title": "VectorStoreFileDeleteResponse",
2015420130 "description": "Result of deleting a file from a vector store (always HTTP 200).",
Original file line number Diff line number Diff line change @@ -79,12 +79,6 @@ def response(self) -> str:
7979 else f"{ self .resource_name } not found"
8080 )
8181
82- @computed_field (json_schema_extra = {"deprecated" : True })
83- def success (self ) -> bool :
84- """Successful response flag."""
85- logger .warning ("DEPRECATED: Will be removed in a future release." )
86- return True
87-
8882 @classmethod
8983 def openapi_response (cls ) -> dict [str , Any ]:
9084 """Build FastAPI/OpenAPI metadata with named application/json examples.
@@ -1157,6 +1151,12 @@ class ConversationDeleteResponse(AbstractDeleteResponse):
11571151 examples = ["123e4567-e89b-12d3-a456-426614174000" ],
11581152 )
11591153
1154+ @computed_field (json_schema_extra = {"deprecated" : True })
1155+ def success (self ) -> bool :
1156+ """Successful response flag."""
1157+ logger .warning ("DEPRECATED: Will be removed in a future release." )
1158+ return True
1159+
11601160 model_config = {
11611161 "json_schema_extra" : {
11621162 "examples" : [
You can’t perform that action at this time.
0 commit comments