Skip to content

Conversation

@dingyi222666
Copy link
Member

Summary

This PR bumps adapter package versions to reflect latest model updates and improvements from the recent adapter updates PR. Also includes refinement to Qwen adapter's image input detection.

New Features

  • Qwen adapter now uses centralized supportImageInput utility for consistent image model detection
  • Simplified model detection logic by leveraging shared-adapter utilities

Version Updates

  • shared-adapter: 1.0.22 → 1.0.23
  • adapter-zhipu: 1.3.3 → 1.3.4
  • adapter-wenxin: 1.3.2 → 1.3.3
  • adapter-spark: 1.3.2 → 1.3.3
  • adapter-claude: 1.3.4 → 1.3.5
  • adapter-qwen: 1.3.2 → 1.3.3
  • adapter-doubao: 1.3.2 → 1.3.3
  • adapter-deepseek: 1.3.6 → 1.3.7
  • adapter-openai: 1.3.4 → 1.3.5
  • adapter-openai-like: 1.3.4 → 1.3.5
  • adapter-gemini: 1.3.20 → 1.3.21
  • adapter-azure-openai: 1.3.2 → 1.3.3
  • adapter-hunyuan: 1.3.2 → 1.3.3
  • adapter-ollama: 1.3.2 → 1.3.3
  • adapter-rwkv: 1.3.2 → 1.3.3
  • adapter-dify: 1.3.3 → 1.3.4

Other Changes

  • Improved code consistency by using shared utilities across adapters
  • Version bumps align with recent feature additions and bug fixes

Bump all adapter packages to reflect latest model updates and improvements:

- shared-adapter: 1.0.22 → 1.0.23 (reasoning effort variants, image input enhancements)
- adapter-zhipu: 1.3.3 → 1.3.4 (add GLM-4.7-FlashX model)
- adapter-wenxin: 1.3.2 → 1.3.3 (image input support, defensive normalization)
- adapter-spark: 1.3.2 → 1.3.3 (update to spark-x1.5)
- adapter-claude: 1.3.4 → 1.3.5 (latest Claude models)
- adapter-qwen: 1.3.2 → 1.3.3 (qwen3-max thinking variants)
- adapter-doubao: 1.3.2 → 1.3.3 (reasoning effort refactor, new models)
- adapter-deepseek: 1.3.6 → 1.3.7
- adapter-openai: 1.3.4 → 1.3.5
- adapter-openai-like: 1.3.4 → 1.3.5
- adapter-gemini: 1.3.20 → 1.3.21
- adapter-azure-openai: 1.3.2 → 1.3.3
- adapter-hunyuan: 1.3.2 → 1.3.3
- adapter-ollama: 1.3.2 → 1.3.3
- adapter-rwkv: 1.3.2 → 1.3.3
- adapter-dify: 1.3.3 → 1.3.4
Use centralized supportImageInput utility from shared-adapter for consistent image input model detection instead of hardcoded model name checks.
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 3, 2026

Caution

Review failed

The pull request is closed.

概览

在 QWen 适配器中扩展了图像处理逻辑。通过导入 supportImageInput 工具函数,条件判断增加了对该函数返回结果的检查,使得图像内容在更多场景下被识别和处理。

变更

文件/模块 摘要
QWen 适配器图像处理
packages/adapter-qwen/src/utils.ts
导入 supportImageInput 工具函数,在 langchainMessageToQWenMessage 中扩展图像内容检测条件,当 supportImageInput(model) 返回真值时,图像 URL 将被获取并嵌入,增加了图像处理的适用模型范围。

可能相关的 PR

代码审查工作量评估

🎯 2 (Simple) | ⏱️ ~10 分钟

兔子的诗

🐰 在模型的花园里,
图像应运而生,
supportImageInput 轻声唤醒,
QWen 的眼睛更亮了呢。
条件延展,识别更广——
又是一次小小的魔法✨

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/bump-version

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.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @dingyi222666, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on a routine maintenance update across the adapter ecosystem. It systematically bumps the versions of various individual adapter packages and their shared utility dependency to ensure they are current with the latest model updates and internal improvements. A key functional enhancement is introduced in the Qwen adapter, where image input detection is standardized by integrating a new utility from the shared adapter, promoting better code consistency and maintainability.

Highlights

  • Adapter Version Bumps: Numerous adapter packages have been updated to their latest versions, reflecting recent model updates and improvements. This includes adapter-zhipu, adapter-wenxin, adapter-spark, adapter-claude, adapter-qwen, adapter-doubao, adapter-deepseek, adapter-openai, adapter-openai-like, adapter-gemini, adapter-azure-openai, adapter-hunyuan, adapter-ollama, adapter-rwkv, and adapter-dify.
  • Shared Adapter Update: The core @chatluna/v1-shared-adapter package has been bumped from 1.0.22 to 1.0.23, and all dependent adapter packages have updated their dependency to this new version.
  • Qwen Adapter Image Input Handling Improvement: The Qwen adapter's logic for detecting image input capabilities has been refined. It now leverages the centralized supportImageInput utility from the shared adapter, leading to more consistent and simplified model detection.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • packages/adapter-azure-openai/package.json
    • Bumped version from 1.3.2 to 1.3.3.
    • Updated @chatluna/v1-shared-adapter dependency to ^1.0.23.
  • packages/adapter-claude/package.json
    • Bumped version from 1.3.4 to 1.3.5.
    • Updated @chatluna/v1-shared-adapter dependency to ^1.0.23.
  • packages/adapter-deepseek/package.json
    • Bumped version from 1.3.6 to 1.3.7.
    • Updated @chatluna/v1-shared-adapter dependency to ^1.0.23.
  • packages/adapter-dify/package.json
    • Bumped version from 1.3.3 to 1.3.4.
  • packages/adapter-doubao/package.json
    • Bumped version from 1.3.2 to 1.3.3.
    • Updated @chatluna/v1-shared-adapter dependency to ^1.0.23.
  • packages/adapter-gemini/package.json
    • Bumped version from 1.3.20 to 1.3.21.
    • Updated @chatluna/v1-shared-adapter dependency to ^1.0.23.
  • packages/adapter-hunyuan/package.json
    • Bumped version from 1.3.2 to 1.3.3.
    • Updated @chatluna/v1-shared-adapter dependency to ^1.0.23.
  • packages/adapter-ollama/package.json
    • Bumped version from 1.3.2 to 1.3.3.
    • Updated @chatluna/v1-shared-adapter dependency to ^1.0.23.
  • packages/adapter-openai-like/package.json
    • Bumped version from 1.3.4 to 1.3.5.
    • Updated @chatluna/v1-shared-adapter dependency to ^1.0.23.
  • packages/adapter-openai/package.json
    • Bumped version from 1.3.4 to 1.3.5.
    • Updated @chatluna/v1-shared-adapter dependency to ^1.0.23.
  • packages/adapter-qwen/package.json
    • Bumped version from 1.3.2 to 1.3.3.
    • Updated @chatluna/v1-shared-adapter dependency to ^1.0.23.
  • packages/adapter-qwen/src/utils.ts
    • Imported supportImageInput from @chatluna/v1-shared-adapter.
    • Modified langchainMessageToQWenMessage function to include supportImageInput(model) in the image input detection logic.
  • packages/adapter-rwkv/package.json
    • Bumped version from 1.3.2 to 1.3.3.
    • Updated @chatluna/v1-shared-adapter dependency to 1.0.23.
  • packages/adapter-spark/package.json
    • Bumped version from 1.3.2 to 1.3.3.
    • Updated @chatluna/v1-shared-adapter dependency to ^1.0.23.
  • packages/adapter-wenxin/package.json
    • Bumped version from 1.3.2 to 1.3.3.
    • Updated @chatluna/v1-shared-adapter dependency to ^1.0.23.
  • packages/adapter-zhipu/package.json
    • Bumped version from 1.3.3 to 1.3.4.
    • Updated @chatluna/v1-shared-adapter dependency to ^1.0.23.
  • packages/shared-adapter/package.json
    • Bumped version from 1.0.22 to 1.0.23.
Activity
  • No review comments or other human activity have been recorded on this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@dingyi222666 dingyi222666 merged commit e3429fa into v1-dev Feb 3, 2026
2 of 3 checks passed
@dingyi222666 dingyi222666 deleted the chore/bump-version branch February 3, 2026 13:36
Copy link
Contributor

@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 primarily bumps the versions of multiple adapter packages and their shared dependency. The changes also include a refinement in the Qwen adapter to improve how it detects models with image input capabilities. My review focuses on the implementation of this refinement and dependency consistency. I've suggested a change to further simplify the code and remove redundancy, aligning better with the goal of using a centralized utility. I also noted a small inconsistency in dependency versioning in one of the package.json files that could be addressed for better maintainability.

],
"dependencies": {
"@chatluna/v1-shared-adapter": "1.0.22",
"@chatluna/v1-shared-adapter": "1.0.23",
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

The dependency on @chatluna/v1-shared-adapter is pinned to an exact version, while most other adapter packages in this repository use a caret (^) to allow for compatible minor and patch updates. For consistency and easier dependency management, consider using ^1.0.23 here as well, unless there's a specific reason to pin this version.

Suggested change
"@chatluna/v1-shared-adapter": "1.0.23",
"@chatluna/v1-shared-adapter": "^1.0.23",

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