LD_LIBRARY_PATH so their vendored
libraries win. This function restores the original value so that subprocess
will not use them.
None
@deprecated(...). It transparently forwards to :func:deprecation.deprecated
while filling in the SDK’s current version metadata unless custom values are
supplied.
None
None
None
None
deprecation.UnsupportedWarning after the removal threshold.
None
None
None
None
None
None
textstr – The text to sanitize
- str Text with sanitized @OpenHands mentions (e.g., “@OpenHands” -> ”@OpenHands”)
None
contentstr – The text content to potentially truncatetruncate_afterint | None – Maximum length before truncation. If None, no truncation occurstruncate_noticestr – Notice to insert in the middle when content is truncatedsave_dirstr | None – Working directory to save full content file intool_prefixstr – Prefix for the saved file (e.g., “bash”, “browser”, “editor”)
- str Original content if under limit, or truncated content with head and tail
-
str preserved and reference to saved file if applicable
NoneNoneNoneNoneNone

