MCPcopy
hub / github.com/mudler/LocalAI / _new_servicer

Method _new_servicer

backend/python/vllm/test.py:324–332  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

322 return asyncio.run(run())
323
324 def _new_servicer(self):
325 import sys, os
326 sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
327 from backend import BackendServicer
328 s = BackendServicer()
329 s.reasoning_parser_cls = None
330 s.tool_parser_cls = None
331 s.tokenizer = None
332 return s
333
334 # ── Case 1+2: parser without streaming method → buffer fallback ──
335 def test_buffer_path_no_markup_no_duplication(self):

Calls 2

BackendServicerClass · 0.90
insertMethod · 0.45

Tested by

no test coverage detected