Repository navigation
new - #44
Closed
FarmerChina wants to merge 22 commits into
Closed
new#44FarmerChina wants to merge 22 commits into
FarmerChina wants to merge 22 commits into
Conversation
Firesuiry
pushed a commit
to Firesuiry/tako-newapi
that referenced
this pull request
Aug 27, 2026
…-levels feat(referral): add rebuildable growth badges
oyty
added a commit
to shtelosai/new-api
that referenced
this pull request
Oct 28, 2026
- 模型级 Responses 请求里,推理摘要只对 Pi 1.0 / 1.1 回退为助手文本,OMP 整项丢弃 - 原做法让模型把英文思考摘要当成自己对用户说过的话,长任务里照样写进正文(Twork 飞书 QuantumNous#44) - 单元测试覆盖多段摘要、多个推理项及 OMP 版本号与 Pi 1.0 重名的情况 - 出站测试矩阵新增 OMP 一组,在真实 HTTP 客户端边界确认摘要不出站 - AGENTS 记录该约定,避免以后放开版本时再次套用
leicanxi
added a commit
to leicanxi/flowbee-api
that referenced
this pull request
Oct 30, 2026
同步上游 363 个提交(v1.0.0-rc.26 之后约两个月)。 冲突解决原则:自有功能保留、上游架构与多语言化吸收。 关键融合点: - 限流:保留分组级限流/共享限流器/auto 分组门禁,吸收上游 Reserve/Complete 预留与流感知成功判定;补 ErrAutoGroupsRateLimited → 429 映射 - 计费/日志:吸收上游 *LogOther 结构化与 Message 日志,保留 BillingSource 与邀请人首充奖励(积分),RecordLog 调用全部迁移到 NewMessage - 签到:保留福利积分发放,错误/日志改走 i18n 消息(补 11 个后端消息 key 与 9 个前端 NewMessage key,7 语翻译) - 邮件:保留品牌外壳排版,文案接上游多语言(补 6+5 个 i18n key) - 令牌用量:保留扁平 user_quota/user_used_quota 客户端契约 + 容错降级, 吸收上游 AllowUserQuotaQuery 隐私开关与 IP 白名单 - 通知:改用上游 NotifyChannelWatchers,品牌排版随语言渲染 - 访问令牌:采用上游多令牌/scope 体系,移除旧 GenerateAccessToken; 为福利/抽奖/赞助/生图/SSO 等自有路由补齐 scope 规则,SSO 端点仅限会话 - 移除手动划转邀请额度功能(已被自动转入余额取代:模型+控制器+路由+前端) - 前端:保留改造QuantumNous#4/QuantumNous#19/QuantumNous#22/QuantumNous#30/QuantumNous#34/QuantumNous#39/QuantumNous#42/QuantumNous#44,吸收上游组件重构; theme 契约测试适配站点默认值(Anthropic/sans/xl) - 移除与改造QuantumNous#42 布局不兼容的上游概览向导 UI 测试 验证:go build/test 全绿,relaykit 独立构建通过,tsgo 零错误, rsbuild 构建通过,vitest 2461/2461 通过。
This was referenced Nov 9, 2026
oyty
added a commit
to shtelosai/new-api
that referenced
this pull request
Nov 11, 2026
- 模型级 /v1/messages 请求里,历史 thinking / redacted_thinking 整块丢弃,不再改成 text 回放 - 原做法让 Opus 把英文思考当成自己说过的话,长任务里照样用英文写过程话和结论(Twork 飞书 QuantumNous#76) - 只剩思考的消息整条去掉,前后同角色消息由网关直接合并,不依赖中转渠道 - 单测覆盖思考丢弃、工具配对与顺序、合并、各类原样透传;出站测试走完整 Anthropic 适配链路 - AGENTS 记录该约定,与 QuantumNous#44 Responses 侧一致
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.
new