(prompt: str)
| 118 | def make_deterministic_llm(responses: list): |
| 119 | idx = [0] |
| 120 | def call(prompt: str) -> str: |
| 121 | time.sleep(0.03) |
| 122 | r = responses[idx[0] % len(responses)] |
| 123 | idx[0] += 1 |
| 124 | return r |
| 125 | return call |
| 126 | |
| 127 |
nothing calls this directly
no outgoing calls
no test coverage detected