Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CopilotKit/OpenGenerativeUI
/ handler
Function
handler
apps/agent/tests/test_anthropic_compat.py:22–24 ·
view source on GitHub ↗
(req)
Source
from the content-addressed store, hash-verified
20
seen = {}
21
22
def
handler(req):
23
seen[
"messages"
] = list(req.messages)
24
return
"called"
25
26
result = middleware.wrap_model_call(request, handler)
27
assert result ==
"called"
Callers
2
wrap_model_call
Method · 0.50
awrap_model_call
Method · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected