Skip to content

Commit

Permalink
feat: Adds the exta information metadata key
Browse files Browse the repository at this point in the history
  • Loading branch information
db0 authored and tazlin committed Sep 28, 2024
1 parent 58ab404 commit bc860a2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion codegen/ai_horde/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -4214,7 +4214,8 @@
"source_image",
"source_mask",
"extra_source_images",
"batch_index"
"batch_index",
"information"
]
},
"value": {
Expand Down
3 changes: 2 additions & 1 deletion codegen/ai_horde/swagger_openapi3.json
Original file line number Diff line number Diff line change
Expand Up @@ -5208,7 +5208,8 @@
"source_image",
"source_mask",
"extra_source_images",
"batch_index"
"batch_index",
"information"
],
"example": "lora",
"type": "string"
Expand Down
2 changes: 2 additions & 0 deletions horde_sdk/ai_horde_api/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ class METADATA_TYPE(StrEnum):
"""Extra source images for the request."""
batch_index = auto()
"""The index of the batch in a batch request."""
information = auto()
"""Extra information about the image."""


class METADATA_VALUE(StrEnum):
Expand Down

0 comments on commit bc860a2

Please sign in to comment.