MCPcopy Create free account
hub / github.com/NVIDIA-NeMo/Switchyard / call

Method call

tests/test_switchyard.py:191–193  ·  view source on GitHub ↗
(self, ctx: ProxyContext, request: ChatRequest)

Source from the content-addressed store, hash-verified

189 return [ChatRequestType.OPENAI_CHAT]
190
191 async def call(self, ctx: ProxyContext, request: ChatRequest) -> ChatResponse:
192 ctx.metadata["backend_started"] = request.model
193 raise RuntimeError("backend exploded")
194
195
196class RecordingTranslator:

Calls

no outgoing calls

Tested by

no test coverage detected