Skip to main content

QwenPaw LLMVTuber Channel - WebSocket频道,对接Open-LLM-VTuber前端

Project description

qwenpaw-llmvtuber-channel

QwenPaw 自定义频道插件,把 Open-LLM-VTuber 桌面端连到 QwenPaw Agent。

架构

LLMVTuber 桌面端 ←WS→ llmvtuber-channel ←ACP→ QwenPaw Agent

前端连过来,Agent 处理回复,Live2D 正常渲染。

安装

pip install qwenpaw-llmvtuber-channel

或者在 agent.json 里配 npx(需要 npm 包):

{
  "llmvtuber": {
    "enabled": true,
    "host": "0.0.0.0",
    "port": 8765
  }
}

然后放 custom_channels/llmvtuber_channel.py 到 QwenPaw 的工作目录下。

WebSocket 协议

详见 doc/ws_protocol.md

前端→后端

type 说明
text-input 文字消息
heartbeat 心跳(每15s)
interrupt-signal 打断AI回复

后端→前端

type 说明
set-model-and-conf 初始化握手
full-text AI回复
heartbeat-ack 心跳回复
error 错误信息

开发

pip install -e .

许可证

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qwenpaw_llmvtuber_channel-1.0.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qwenpaw_llmvtuber_channel-1.0.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file qwenpaw_llmvtuber_channel-1.0.0.tar.gz.

File metadata

File hashes

Hashes for qwenpaw_llmvtuber_channel-1.0.0.tar.gz
Algorithm Hash digest
SHA256 44d1f815e7920c2670b8042212f63c31eb648afed68180a06a42a961c6fba98e
MD5 59323b187717d6d9789312aa33a27b54
BLAKE2b-256 3797a6292af57f8acae05892fbfbd711829badbb6a99e26f36ce0fbc8fba9433

See more details on using hashes here.

File details

Details for the file qwenpaw_llmvtuber_channel-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for qwenpaw_llmvtuber_channel-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 258381703a49111c8c9abd5f0a860f4efc552fd49fc583d58c642046289ed4df
MD5 e7c19e676c0b9f49803d7969795557b8
BLAKE2b-256 5dd830b754e26123dd4a3136430c0df01fbf0b56b4c15bc2f01b96b0aa55253c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page