mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
update base class of ListStepContainer to BaseStepContainer (#6232)
update base class of ListStepContainer to BaseStepContainer Fixes #6231
This commit is contained in:
parent
98e1bbfbbd
commit
af3f401015
@ -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…
Reference in New Issue
Block a user