Skip to content

fix(shared-adapter): 补齐模型多模态能力并清理冗余匹配规则 - #1067

Merged
dingyi222666 merged 1 commit into
ChatLunaLab:v1-devfrom
Procyon-Nan:fix/adapter-multimodal-capabilities
Oct 24, 2026
Merged

dingyi222666 merged 1 commit into
ChatLunaLab:v1-devfrom
Procyon-Nan:fix/adapter-multimodal-capabilities

Conversation

@Procyon-Nan

Copy link
Copy Markdown
Contributor

更新共享适配器 client.ts:补充 GPT-6 系列、Kimi K3、DeepSeek V4.1 Flash(含 1017 快照)的图片输入匹配,以及 Qwen3.8 Omni Flash 的音频输入匹配。

删除已被 vl、omni 和 grok-4 规则覆盖的 7 项冗余图片匹配。

更新共享适配器 client.ts:补充 GPT-6 系列、Kimi K3、DeepSeek V4.1 Flash(含 1017 快照)的图片输入匹配,以及 Qwen3.8 Omni Flash 的音频输入匹配。

删除已被 vl、omni 和 grok-4 规则覆盖的 7 项冗余图片匹配。
@coderabbitai

coderabbitai Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 06aeeb3a-fdbd-44c7-a8b4-09cbb079853d
Commits

Reviewing files that changed from the base of the PR and between 819b7f3 and 2327c31.

Files selected for processing: 1
  • packages/shared-adapter/src/client.ts

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

Walkthrough

更新图像输入匹配器支持的模型模式:新增 gpt-6、kimi-k3 和 deepseek-v4.1-flash,并移除若干模式。音频输入匹配器新增 qwen3.8-omni-flash。

Changes

输入模型匹配器

Layer / File(s) Summary
更新输入模型模式
packages/shared-adapter/src/client.ts
图像输入匹配器移除 qwen-vl、qwen*-omni、qwen-omni、qwen*-vl、grok-4.1、grok-4.5 和 grok-4.6,并新增 gpt-6、kimi-k3 和 deepseek-v4.1-flash。音频输入匹配器新增 qwen3.8-omni-flash。

Priority: Normal

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Feature

Suggested reviewers: dingyi222666

Merge Risk: Minimal · up to 2327c

The capability matcher updates preserve existing coverage and add the requested model patterns without an identified merge-blocking defect.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed 标题准确概括了主要变更,包括补齐模型多模态能力和清理冗余匹配规则。标题简洁且与变更内容一致。
Description check Passed 描述明确说明了新增的图片和音频输入匹配规则,以及删除冗余图片匹配规则的内容。描述与变更集相关。
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
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.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files.

Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@dingyi222666
dingyi222666 merged commit b78975a into ChatLunaLab:v1-dev Oct 24, 2026
5 checks passed
@Procyon-Nan
Procyon-Nan deleted the fix/adapter-multimodal-capabilities branch October 25, 2026 03:01
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.

2 participants