MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / TruncatedResponseError

Class TruncatedResponseError

openkb/agent/compiler.py:395–397  ·  view source on GitHub ↗

Raised when an LLM response hit the length cap and the caller asked to treat truncation as a failure (so a partial page is skipped, not written).

Source from the content-addressed store, hash-verified

393
394
395class TruncatedResponseError(Exception):
396 """Raised when an LLM response hit the length cap and the caller asked to
397 treat truncation as a failure (so a partial page is skipped, not written)."""
398
399
400def _llm_call(

Callers 2

_llm_callFunction · 0.85
_llm_call_asyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected