update base class of ListStepContainer to BaseStepContainer (#6232)

update base class of ListStepContainer to BaseStepContainer

Fixes #6231
pull/7643/head
lucasiscovici 1 year ago committed by GitHub
parent 98e1bbfbbd
commit af3f401015
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -28,7 +28,7 @@ class BaseStepContainer(BaseModel):
"""Return the final response based on steps taken."""
class ListStepContainer(BaseModel):
class ListStepContainer(BaseStepContainer):
steps: List[Tuple[Step, StepResponse]] = Field(default_factory=list)
def add_step(self, step: Step, step_response: StepResponse) -> None:

Loading…
Cancel
Save