factor_agent.llm.replay.ReplayBackend#
- class ReplayBackend(log)[source]#
Bases:
objectAnswer each request with the recorded reply to the same role, model and prompt.
A request asked several times gets its recorded replies in order.
- Raises:
- ValueError
If the log holds no call (a wrong path, or a run that made none).
Methods#
Return the recorded reply to |
|
Build from |
Attributes#
- ReplayBackend.OPTIONS = ('log',)#
The options a role’s config may give besides
backendandmodel;logis needed.