Skip to content

docs(guide): 调整模型适配器配置顺序#40

Merged
CookSleep merged 1 commit into
ChatLunaLab:mainfrom
CookSleep:docs/move-model-adapter-config
Jun 6, 2026
Merged

docs(guide): 调整模型适配器配置顺序#40
CookSleep merged 1 commit into
ChatLunaLab:mainfrom
CookSleep:docs/move-model-adapter-config

Conversation

@CookSleep
Copy link
Copy Markdown
Member

@CookSleep CookSleep commented Jun 6, 2026

摘要

  • 将“配置模型适配器”小节移动到“安装模型适配器”之后。
  • 让模型平台选择、代理配置和模型列表查看说明更贴近前置步骤。

测试

  • 未运行,本次仅修改文档。

Summary by CodeRabbit

  • Documentation
    • Reorganized the getting-started guide to eliminate duplicate content and streamline the model adapter configuration setup flow.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 6, 2026

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: fc6aa98d-490b-4e26-881e-5a5104a851d5

📥 Commits

Reviewing files that changed from the base of the PR and between f49458d and 3c4509b.

📒 Files selected for processing (1)
  • docs/guide/getting-started.md

📝 Walkthrough

Walkthrough

The getting-started documentation is reorganized to consolidate model adapter configuration guidance immediately after the installation section, eliminating duplication and improving the logical flow of setup instructions for new users.

Changes

Getting Started Guide Reorganization

Layer / File(s) Summary
Model adapter configuration consolidation
docs/guide/getting-started.md
A new "配置模型适配器" section is added after the installation instructions, providing model platform selection reference, proxy configuration guidance for inaccessible APIs, and instructions for using chatluna.model.list to query available models, consolidating previously duplicated content.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • ChatLunaLab/doc#8: Both PRs modify the "配置模型适配器" section of docs/guide/getting-started.md, addressing proxy-related guidance and adapter configuration content.

Suggested reviewers

  • dingyi222666

Poem

A rabbit hops through doc pages with glee, 🐰
Tidying sections so clear they can be,
No duplication, no scattered advice—
The guide flows like flow: clean, guided, and nice! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly describes the main change: reordering the model adapter configuration section in the getting-started guide documentation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adjusts the structure of the getting-started documentation by moving the "Configure Model Adapter" section earlier in the guide. The review feedback suggests appending the .md extension to relative links within this section to ensure consistent and correct link resolution across different Markdown parsers.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

参考 [模型平台](./configure-model-platform/introduction.md),选择你需要配置的模型平台类型。

::: warning 注意
如果你所在的地区无法访问某些模型 API 服务,则需要设置代理。请在 `ChatLuna` 主插件的设置里设置代理(请求设置 -> [`isProxy`](./useful-configurations#isproxy),请求设置 -> [`proxyAddress`](./useful-configurations#proxyaddress))。
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

为了确保链接在不同的 Markdown 解析器和静态网站生成器(如 VitePress)中能够正确解析,并与同文件其他地方(如第 92 行的 ./useful-configurations.md#defaultchatmode)保持一致,建议在相对路径链接中补全 .md 后缀。

Suggested change
如果你所在的地区无法访问某些模型 API 服务,则需要设置代理。请在 `ChatLuna` 主插件的设置里设置代理(请求设置 -> [`isProxy`](./useful-configurations#isproxy),请求设置 -> [`proxyAddress`](./useful-configurations#proxyaddress))。
如果你所在的地区无法访问某些模型 API 服务,则需要设置代理。请在 `ChatLuna` 主插件的设置里设置代理(请求设置 -> [`isProxy`](./useful-configurations.md#isproxy),请求设置 -> [`proxyAddress`](./useful-configurations.md#proxyaddress))。

@CookSleep CookSleep merged commit 54f8cae into ChatLunaLab:main Jun 6, 2026
1 check passed
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.

1 participant