Skip to content

Commit e7272c6

Browse files
committed
file schema id
1 parent db719f4 commit e7272c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/inferencesh/sdk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def refresh_metadata(self) -> None:
267267
@classmethod
268268
def model_json_schema(cls, **kwargs):
269269
schema = super().model_json_schema(**kwargs)
270-
270+
schema["$id"] = "/schemas/File"
271271
# Create a schema that accepts either a string or the full object
272272
return {
273273
"oneOf": [

0 commit comments

Comments
 (0)