uni-api / test /launch_with_clear.py
yym68686's picture
Fix Claude response reception logic
3e3ea9a
raw
history blame
181 Bytes
import os
import subprocess
# 清理终端
subprocess.call('clear' if os.name == 'posix' else 'cls', shell=True)
# 运行主程序
os.system(os.environ['PYTHONPATH'] + ' main.py')