Skip to content

TestConfig

autogen.beta.testing.TestConfig #

TestConfig(*events)

Bases: ModelConfig

Source code in autogen/beta/testing.py
def __init__(self, *events: ModelResponse | ToolCallEvent | str) -> None:
    self.events = events

events instance-attribute #

events = events

copy #

copy()
Source code in autogen/beta/testing.py
def copy(self) -> Self:
    return self

create #

create()
Source code in autogen/beta/testing.py
def create(self) -> TestClient:
    return TestClient(*self.events)