Skip to content

Commit

Permalink
fix: missing field for textgen status
Browse files Browse the repository at this point in the history
  • Loading branch information
tazlin committed May 9, 2024
1 parent 14fcf9c commit 3deca95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions horde_sdk/ai_horde_api/apimodels/generate/text/_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@


class GenerationKobold(Generation):
id_: str | None = Field(None, description="The ID for this image.", title="Generation ID")
gen_metadata: list[GenMetadataEntry] | None = None # FIXME: API declares a `GenerationMetadataKobold` here
seed: int | None = Field(0, description="The seed which generated this text.", title="Generation Seed")
text: str | None = Field(None, description="The generated text.", min_length=0, title="Generated Text")
Expand Down

0 comments on commit 3deca95

Please sign in to comment.