From b3e4c0640b3ca7b041100add82e61176f8eece5d Mon Sep 17 00:00:00 2001 From: tazlin Date: Thu, 5 Oct 2023 21:27:12 -0400 Subject: [PATCH] fix: default for inject_ti missing --- horde_sdk/ai_horde_api/apimodels/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/horde_sdk/ai_horde_api/apimodels/base.py b/horde_sdk/ai_horde_api/apimodels/base.py index 32f92df..ae66ca7 100644 --- a/horde_sdk/ai_horde_api/apimodels/base.py +++ b/horde_sdk/ai_horde_api/apimodels/base.py @@ -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")