A dummy chain for simulating a chain's invoke behavior. Returns a successful answer in the expected format.
| 150 | |
| 151 | |
| 152 | class DummyChain: |
| 153 | """A dummy chain for simulating a chain's invoke behavior. |
| 154 | Returns a successful answer in the expected format.""" |
| 155 | |
| 156 | def invoke(self, inputs): |
| 157 | return {"content": "successful answer"} |
| 158 | |
| 159 | |
| 160 | @pytest.fixture |
no outgoing calls