MCPcopy Create free account
hub / github.com/abetlen/llama-cpp-python / join_sequence

Method join_sequence

examples/server/server.py:386–389  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

384 return self._add_rule("dot", rule)
385
386 def join_sequence() -> Tuple[str, bool]:
387 if len(sequence) == 1:
388 return sequence[0]
389 return (" ".join(to_rule(item) for item in sequence), False)
390
391 while index < length:
392 char = pattern[index]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected