MCPcopy Create free account
hub / github.com/Emmimal/control-layer / call

Function call

demo.py:120–124  ·  view source on GitHub ↗
(prompt: str)

Source from the content-addressed store, hash-verified

118def 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected