Skip to content

Commit

Permalink
Merge pull request #33 from Haidra-Org/regen-bugfix
Browse files Browse the repository at this point in the history
fix: default for inject_ti missing
  • Loading branch information
tazlin authored Oct 6, 2023
2 parents 097854e + b3e4c06 commit 0e37e3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion horde_sdk/ai_horde_api/apimodels/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class LorasPayloadEntry(BaseModel):

class TIPayloadEntry(BaseModel):
name: str = Field(min_length=1, max_length=255)
inject_ti: str | None
inject_ti: str | None = None
strength: float = Field(default=1, ge=-5, le=5)

@field_validator("inject_ti")
Expand Down

0 comments on commit 0e37e3c

Please sign in to comment.