代码部分1.代码示例123456789101112131415import osfrom zhipuai import ZhipuAIclient = ZhipuAI(api_key="") # 填写您自己的APIKeyresponse = client.chat.completions.create( model="glm-4", # 填写需要调用的模型名称 messages=[ {"role": "user", "content": "你好"}, {"role": "assistant", "content": "我是人工智能助手"}, {"role": "user", "content": "你叫什么名字&qu ...
工程记录
未读代码部分1.403链接失败的解决方法,老是用梯子的报应git config –global http.proxy http://127.0.0.1:21882git config –global https.proxy http://127.0.0.1:21882设置个人接口git config –global –unset http.proxygit config –global –unset https.proxy取消个人接口设置
2.hexo三件套hexo cleanhexo ghexo d
3.可以尝试ping一下github看看是不是网络传输问题ping github.com
4.本地测试方法hexo s然后访问 http://localhost:4000/
5.yml设置别忘了改deploy: type: git repo: https://github.com/TheQOfHometown/theqofhometown.github.io.git branch: main
友情链接1.https://blog.csdn.net/wxmiy/article/detai ...