Classes
CLASS DummyBackend
A backend for smoke testing.
Returns predetermined string responses in sequence, or "dummy" if no
responses are provided. Intended for unit tests and integration smoke tests
where real model inference is not needed.
Args:
responses: Ordered list of strings to return on successivegenerate_from_contextcalls, orNoneto always return"dummy".
idx: Index of the next response to return fromresponses; starts at0and increments on each call.