MCPcopy Index your code
hub / github.com/zai-org/GLM-4 / clean_ansi_codes

Function clean_ansi_codes

demo/composite_demo/src/tools/python.py:148–149  ·  view source on GitHub ↗
(input_string)

Source from the content-addressed store, hash-verified

146
147
148def clean_ansi_codes(input_string):
149 return ANSI_ESCAPE.sub("", input_string)
150
151
152def extract_code(text: str) -> str:

Callers 1

executeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected