unit-mesh / auto-dev

🧙‍AutoDev: The AI-powered coding wizard(AI 驱动编程助手) with multilingual support 🌐, auto code generation 🏗️, and a helpful bug-slaying assistant 🐞! Customizable prompts 🎨 and a magic Auto Dev/Testing/Document/Agent feature 🧪 included! 🚀
https://ide.unitmesh.cc/
Mozilla Public License 2.0
2.72k stars 314 forks source link

插件支持WebSocket方式连接LLM吗? #108

Closed liuq29 closed 5 months ago

liuq29 commented 5 months ago

ws://10.199.35.10:8080/chat

大佬,插件支持WebSocket方式连接模型吗?

phodal commented 5 months ago

不支持,需要自己来 PR:

参考:https://github.com/unit-mesh/auto-dev/blob/master/src/main/kotlin/cc/unitmesh/devti/llms/xianghuo/XingHuoProvider.kt

https://github.com/unit-mesh/auto-dev/blob/df2bb82e4af08afd1fe0db9a431cfbf1e923cf2f/src/main/kotlin/cc/unitmesh/devti/llms/xianghuo/XingHuoProvider.kt#L67-L80