Skip to content

Commit c999a7b

Browse files
committed
improve file class
1 parent 2c41326 commit c999a7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/inferencesh/models/file.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,8 @@ def __get_pydantic_json_schema__(
270270
return {
271271
"$id": "/schemas/File",
272272
"oneOf": [
273-
{"type": "string"},
274-
json_schema
273+
json_schema,
274+
{"type": "string"}
275275
]
276276
}
277277

0 commit comments

Comments
 (0)