MCPcopy Index your code
hub / github.com/mudler/LocalAI / _collect

Method _collect

backend/python/vllm/test.py:318–322  ·  view source on GitHub ↗
(servicer, req)

Source from the content-addressed store, hash-verified

316
317 @staticmethod
318 def _collect(servicer, req):
319 import asyncio
320 async def run():
321 return [r async for r in servicer._predict(req, None, streaming=True)]
322 return asyncio.run(run())
323
324 def _new_servicer(self):
325 import sys, os

Calls 2

runFunction · 0.50
runMethod · 0.45

Tested by

no test coverage detected