Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Emmimal/control-layer
/ llm
Method
llm
tests/test_control_layer.py:506–509 ·
view source on GitHub ↗
(p)
Source
from the content-addressed store, hash-verified
504
idx = [0]
505
506
def
llm(p):
507
r = responses[min(idx[0], len(responses) - 1)]
508
idx[0] += 1
509
return
r
510
511
layer = ControlLayer(
512
llm_fn=llm,
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected