06 2023 档案
摘要:### 方案二更新: 3、客户端侧需要增加流式打印的逻辑。 2、试一下这个命令: curl --location 'http://124.70.15.141:9090/v1/chat/completions' \ --header 'Content-Type: application/json' \
阅读全文
摘要:1、特殊符号 \n 的转换逻辑 ```python import json x = {'test': "测试\n"} # python 中的字典结构 x_json = json.dumps(x, ensure_ascii=False) x_json # '{"test": "测试\\n"}' 这里看
阅读全文