MCPcopy Index your code
hub / github.com/abetlen/llama-cpp-python / _append_parsed_text

Method _append_parsed_text

examples/server/server.py:5400–5407  ·  view source on GitHub ↗
(parsed: Dict[str, Any], key: str, text: str)

Source from the content-addressed store, hash-verified

5398
5399 @staticmethod
5400 def _append_parsed_text(parsed: Dict[str, Any], key: str, text: str) -> None:
5401 if not text:
5402 return
5403 existing = parsed.get(key)
5404 if isinstance(existing, str):
5405 parsed[key] = existing + text
5406 else:
5407 parsed[key] = text
5408
5409 def _append_visible_text(self, key: str, text: str) -> None:
5410 if not text:

Callers 1

_advance_stream_stateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected