Skip to content

docs: add Hy3 integrations guides (Part A) - #201

Open
smd-610 wants to merge 5 commits into
Tencent-Hunyuan:rhinobird2026from
smd-610:docs/hy3-integrations
Open

docs: add Hy3 integrations guides (Part A)#201
smd-610 wants to merge 5 commits into
Tencent-Hunyuan:rhinobird2026from
smd-610:docs/hy3-integrations

Conversation

@smd-610

@smd-610 smd-610 commented Jul 31, 2026

Copy link
Copy Markdown

PR:Hy3 主流 AI 产品接入指南(Part A)+ 小作品(Part B)

认领信息

  • Issue:【犀牛鸟实战issue】Use Hy3 in popular AI products & build a small showcase
  • 目标分支:rhinobird2026
  • 已在 issue 评论区认领「已认领本任务」(认领窗口 7/1–7/31)

Part A:Hy3 主流 AI 产品接入指南(本 PR)

覆盖 5 个工具的完整接入指南,放入 docs/integrations/

工具 类别
OpenCode 桌面端 AI 桌面客户端
Claude Code AI 命令行工具(Anthropic 协议桥接)
Claude Code 插件 VS Code 插件(Anthropic 协议桥接)
Cline VS Code 插件(OpenAI 兼容)
Kilo Code VS Code 插件(OpenAI 兼容)

每篇均含:安装与版本要求 → 配置项(Base URL / Model / 鉴权 / 协议)→ 第一次对话 → 跑通真实任务(新建并运行 hello.py)+ 常见注意事项。

  • 统一索引:docs/integrations/index.md,含通用接入信息与 curl 自检脚本。
  • 截图:docs/integrations/screenshots/(每个工具 配置 + 跑通任务 两张)。

Part B:Hy3 小作品《Hy3 幻境跑团》

  • 独立开源仓库:https://github.com/smd-610/hy3-showcase
  • 形式:单人文字冒险跑团网页游戏,由 Hy3 担任地下城主(DM)
  • 调用的 Hy3 核心能力:
    • 工具调用(Agent 循环):DM 每个裁决动作经 tool_calls 真实执行(掷骰 / 扣血 / 发物品)
    • 深度推理:流式展示 DM 的「幕后思考」(reasoning_content
    • 流式生成:剧情 SSE 流式输出并实时渲染 Markdown
  • 交付:README.md + demo-video.mp4(≤1min)+ 完整源码(API Key 仅存服务端,已 gitignore)

xhx1022 and others added 5 commits July 15, 2026 15:22
Update README files to include dataset preparation instructions and clarify key parameters for Hy3 reinforcement learning training.

Enhance README files with acknowledgements for support from Tencent Hunyuan team and relevant communities.

Fix typo in README by changing "Posttraining" to "Post-training" for consistency and clarity.

Fix RL Post-training TOC anchor in README
Copilot AI review requested due to automatic review settings July 31, 2026 05:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands Hy3’s documentation by adding end-user integration guides for multiple AI tools under docs/integrations/, and also introduces reinforcement-learning (GRPO/verl) post-training documentation plus README entry points.

Changes:

  • Add integrations landing page and per-tool setup guides (OpenCode Desktop, Claude Code CLI + VS Code plugin via Anthropic bridge, Cline, Kilo Code).
  • Add new RL training guides (rl/README*.md) and link them from the main READMEs.
  • Refine finetuning docs with a more precise note about which “bias not loaded” warnings are safe to ignore.

Reviewed changes

Copilot reviewed 12 out of 23 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
docs/integrations/index.md Adds a consolidated integrations index with shared configuration info and tool list.
docs/integrations/opencode-desktop.md Adds OpenCode Desktop setup guide for Hy3 via OpenAI-compatible endpoint.
docs/integrations/claudecode.md Adds Claude Code CLI setup via Anthropic-compatible bridge guidance.
docs/integrations/claudecode-plugin.md Adds Claude Code VS Code plugin setup via Anthropic-compatible bridge guidance.
docs/integrations/cline.md Adds Cline setup guide for Hy3 via OpenAI-compatible endpoint.
docs/integrations/kilocode.md Adds Kilo Code setup guide for Hy3 via OpenAI-compatible endpoint.
rl/README.md Adds English GRPO/verl RL post-training guide and recommended environment/config notes.
rl/README_CN.md Adds Simplified Chinese version of the RL post-training guide.
README.md Adds “RL Post-training” section linking to the RL guide.
README_CN.md Adds “强化学习训练” section linking to the RL guide.
finetune/README.md Clarifies which bias-loading warnings are ignorable and which are not.
finetune/README_CN.md Same clarification as above in Chinese.
Suppressed comments (1)

docs/integrations/cline.md:39

  • Step-by-step config uses https://tokenhub.tencentmaas.com as Base URL, but later notes say the Base URL should end at /v1. Update this example to include /v1 so users don't copy a potentially wrong URL.
1. 点齿轮进入 Settings。
2. Provider 下拉选择 **OpenAI Compatible**。
3. Base URL 填:`https://tokenhub.tencentmaas.com`
4. API Key 填:`HY3_API_KEY`。
5. Model ID 填:`hy3`。

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +16 to +20
| 协议 | OpenAI 兼容 |
| Provider | `OpenAI Compatible` |
| Base URL | `https://tokenhub.tencentmaas.com` |
| API Key | 你的 `HY3_API_KEY` |
| Model ID | `hy3` |
Comment on lines +55 to +60
- **OpenCode 桌面端**(OpenAI 兼容):GUI 中 Provider 选 `OpenAI Compatible`,Base URL `https://tokenhub.tencentmaas.com/v1`、Key、Model(`hy3`) 填入即可。
- **Claude Code**(Anthropic 协议):需经 Anthropic 兼容桥接层(网关或 LiteLLM),再把 `ANTHROPIC_BASE_URL` / `ANTHROPIC_API_KEY` 指向它,模型映射为 `hy3`。
- **Claude Code 插件**(Anthropic 协议):同 Claude Code,但环境变量为 `ANTHROPIC_BASE_URL` / `ANTHROPIC_AUTH_TOKEN` / `ANTHROPIC_MODEL`,模型 `hy3`。
- **Cline**(OpenAI 兼容):Provider 选 `OpenAI Compatible`,Base URL `https://tokenhub.tencentmaas.com`、Key、Model ID(`hy3`)。
- **Kilo Code**(OpenAI 兼容):API 提供商选 `OpenAI 兼容`,基础 URL `https://tokenhub.tencentmaas.com/v1`、密钥、模型(`hy3`)。

Comment thread README.md
Comment on lines +209 to +212
## RL Post-training

Hy3 supports GRPO reinforcement learning training with [verl](https://github.com/volcengine/verl), training on Megatron-LM (model conversion via NVIDIA Megatron-Bridge) with vLLM rollout. For detailed documentation, please refer to: [RL Training Guide](./rl/README.md)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants