feat: add Qiniu provider support#2155
Merged
RockChinQ merged 2 commits intoApr 29, 2026
Merged
Conversation
Member
|
不用写migration的,可以直接删掉这个迁移 |
RockChinQ
requested changes
Apr 29, 2026
RockChinQ
approved these changes
Apr 29, 2026
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.
概述 / Overview
更改前后对比截图 / Screenshots
改变的文件 What changed
src/langbot/pkg/provider/modelmgr/requesters/qiniuchatcmpl.yaml— Declares the metadata and registration information of the Qiniu CloudChat Completionsrequester (display name, icon, configurables, execution entry class).src/langbot/pkg/provider/modelmgr/requesters/qiniuchatcmpl.py— Inherits fromOpenAIto be compatible withChat Completions, pointing to the Qiniu gateway by default; uses a built-in placeholder list as a fallback when model enumeration fails or is empty.Add relevant vendor information to readme.md
src/langbot/pkg/provider/modelmgr/requesters/qiniuchatcmpl.yaml— 声明七牛云Chat Completions请求器(展示名、图标、可配项、执行入口类)的元数据与注册信息。src/langbot/pkg/provider/modelmgr/requesters/qiniuchatcmpl.py— 继承OpenAI兼容Chat Completions,默认指向七牛网关;模型列举失败或为空时用内置占位列表兜底。相关readme.md的厂商添加。
测试 Testing
检查清单 / Checklist
PR 作者完成 / For PR author
请在方括号间写
x以打勾 / Please tick the box withx项目维护者完成 / For project maintainer