MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _text_chunks

Function _text_chunks

deployments/desktop/shared/agents.py:4473–4476  ·  view source on GitHub ↗
(text: str, size: int = 24)

Source from the content-addressed store, hash-verified

4471 tokens.append(token)
4472 return tokens[:8]
4473
4474
4475def _compact_list(value: Any, limit: int = 6) -> List[str]:
4476 if isinstance(value, list):
4477 items = value
4478 else:
4479 parsed = _load_json(value, None)

Callers 2

_direct_answer_streamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected