MCPcopy Create free account
hub / github.com/Felixgithub2017/MMCU / writetext_to_file

Function writetext_to_file

TestChatGLM.py:69–71  ·  view source on GitHub ↗
(file, contents)

Source from the content-addressed store, hash-verified

67 f.writelines(lines)
68
69def writetext_to_file(file, contents):
70 with open(file, 'w', encoding='utf8') as f:
71 f.write(contents)
72
73def eval(args, subject, dev_df, test_df):
74 logfile = "chatglmlogfile0512"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected