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

Method test_split_reasoning_no_marker

backend/python/mlx/test.py:320–323  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

318 self.assertEqual(c, "The answer is 42.")
319
320 def test_split_reasoning_no_marker(self):
321 r, c = split_reasoning("just text", "<think>", "</think>")
322 self.assertEqual(r, "")
323 self.assertEqual(c, "just text")
324
325 def test_parse_tool_calls_with_shim(self):
326 tm = types.SimpleNamespace(

Callers

nothing calls this directly

Calls 1

split_reasoningFunction · 0.90

Tested by

no test coverage detected