docs: add qq-ai-bot integration example#22
Open
happysnaker wants to merge 3 commits into
Open
Conversation
审阅者指南在 README 中新增一个可选的 qq-ai-bot 集成示例,包括一个通过 OneBot11 转发 WebSocket 配置将 LLOneBot 与 qq-ai-bot 连接起来的 docker-compose 片段,并澄清共享访问令牌的要求。 文件级变更
提示与命令与 Sourcery 交互
自定义你的体验访问你的 dashboard 以:
获取帮助Original review guide in EnglishReviewer's GuideAdds an optional qq-ai-bot integration example to the README, including a docker-compose snippet wiring LLOneBot to qq-ai-bot via a forward WebSocket OneBot11 config and clarifying the shared access token requirement. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - 我发现了 1 个安全问题
安全问题:
- 检测到不安全的 WebSocket。所有 WebSocket 连接都应使用加密的 WebSocket(wss)。(link)
给 AI Agent 的提示
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="readme.md" line_range="74" />
<code_context>
- ONEBOT_FORWARD_WS_URL=ws://llonebot:3001
</code_context>
<issue_to_address>
**security (javascript.lang.security.detect-insecure-websocket):** Insecure WebSocket Detected. WebSocket Secure (wss) should be used for all WebSocket connections.
*Source: opengrep*
</issue_to_address>帮我变得更有用!请对每条评论点 👍 或 👎,我会根据你的反馈改进后续的代码审查。
Original comment in English
Hey - I've found 1 security issue
Security issues:
- Insecure WebSocket Detected. WebSocket Secure (wss) should be used for all WebSocket connections. (link)
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="readme.md" line_range="74" />
<code_context>
- ONEBOT_FORWARD_WS_URL=ws://llonebot:3001
</code_context>
<issue_to_address>
**security (javascript.lang.security.detect-insecure-websocket):** Insecure WebSocket Detected. WebSocket Secure (wss) should be used for all WebSocket connections.
*Source: opengrep*
</issue_to_address>Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Author
|
补充了一版更具体的处理:
这样既保留了本地最常见的 compose 场景,也把 TLS 边界说明清楚了。 |
Author
|
继续补了一刀:把示例文件里仅剩的 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an optional
qq-ai-botintegration example to the README.Why this is useful:
This is intentionally optional and does not change the existing Docker / Nix quickstart path for plain LLOneBot users.
由 Sourcery 提供的摘要
为 QQ-to-AI 部署记录 LLOneBot 与 qq-ai-bot 之间的一种可选集成路径。
文档:
Original summary in English
Summary by Sourcery
Document an optional integration path between LLOneBot and qq-ai-bot for QQ-to-AI deployments.
Documentation: