MCPcopy Create free account
hub / github.com/VitoHowe/glm-coding / is_prompt_like_text

Function is_prompt_like_text

app/services/tenvision_adapter.py:69–73  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

67
68
69def parse_prompt_chars(text):
70 compact = normalize_text(text)
71 if PROMPT_PREFIX in compact:
72 compact = compact.split(PROMPT_PREFIX, 1)[1]
73 compact = compact.replace(':', '').replace(':', '')
74 return extract_chinese_chars(compact)
75
76

Callers 2

find_prompt_itemFunction · 0.85
run_pipeline_bytesFunction · 0.85

Calls 1

normalize_textFunction · 0.85

Tested by

no test coverage detected