LorisYounger / VPet

虚拟桌宠模拟器 一个开源的桌宠软件, 可以内置到任何WPF应用程序
Apache License 2.0
4.79k stars 476 forks source link

如何接入自己部署的API #105

Closed rong-xiaoli closed 1 year ago

rong-xiaoli commented 1 year ago

服务器上有个ChatGLM2-6B,我希望将VPet接入这个API。

ChatGLM2-6B有一个openai格式的接口,但是有问题。正在调试。

rong-xiaoli commented 1 year ago

image 不知道是不是因为响应缺了什么东西导致的。 POST发包没问题,接收的时候会产生这个问题

rong-xiaoli commented 1 year ago

历史有显示回显,但是消息显示NullReferenceException。稍后给出截图。

LorisYounger commented 1 year ago

见 #79