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 | Iterable[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)

create_files_client #

create_files_client()
Source code in autogen/beta/testing.py
def create_files_client(self) -> None:
    raise NotImplementedError(f"{type(self).__name__} does not support Files API.")