Skip to content

Commit

Permalink
Revert "fix: use the correct response model for text async (#410)"
Browse files Browse the repository at this point in the history
This reverts commit 0156cdd.
  • Loading branch information
db0 committed May 21, 2024
1 parent 0d790f1 commit 64a9c47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions horde/apis/models/kobold_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@ def __init__(self, api):
},
)
self.response_model_job_pop = api.model(
"GenerationPayloadKobold",
"GenerationPayload",
{
"payload": fields.Nested(self.root_model_generation_payload_kobold, skip_none=True),
"payload": fields.Nested(self.response_model_generation_payload, skip_none=True),
"id": fields.String(description="The UUID for this text generation."),
"ids": fields.List(
fields.String(
Expand Down

0 comments on commit 64a9c47

Please sign in to comment.