MCPcopy Index your code
hub / github.com/SkyworkAI/DeepResearchAgent / dedent

Function dedent

src/utils/string_utils.py:33–38  ·  view source on GitHub ↗

Dedent the text and expand the tabs.

(text: str)

Source from the content-addressed store, hash-verified

31 return "None"
32
33def dedent(text: str) -> str:
34 """
35 Dedent the text and expand the tabs.
36 """
37 clean = "\n".join(line.strip() for line in text.splitlines())
38 return clean
39
40def generate_unique_id(prefix: str = "session") -> str:
41 """Generate a unique id using timestamp and UUID."""

Callers 15

__str__Method · 0.90
__str__Method · 0.90
__str__Method · 0.90
_get_new_lines_textMethod · 0.90
_process_memoryMethod · 0.90

Calls 1

joinMethod · 0.80

Tested by 1

test_offline_hyperliquidFunction · 0.72