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

Method _append_visible_text

examples/server/server.py:5409–5416  ·  view source on GitHub ↗
(self, key: str, text: str)

Source from the content-addressed store, hash-verified

5407 parsed[key] = text
5408
5409 def _append_visible_text(self, key: str, text: str) -> None:
5410 if not text:
5411 return
5412 existing = self._message.get(key)
5413 if isinstance(existing, str):
5414 self._message[key] = existing + text
5415 else:
5416 self._message[key] = text
5417
5418 @staticmethod
5419 def _advance_json_scanner(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected