Repository navigation
添加了图生文 混图路由 - #4
Merged
Merged
Conversation
Member
|
感谢pr |
Calcium-Ion
pushed a commit
that referenced
this pull request
Nov 19, 2023
Calcium-Ion
pushed a commit
that referenced
this pull request
Jan 8, 2024
Closed
5 tasks done
seefs001
pushed a commit
that referenced
this pull request
Oct 10, 2025
Fork Sync: Update from parent repository
t0ng7u
added a commit
that referenced
this pull request
Oct 28, 2025
sususu98
pushed a commit
to sususu98/new-api
that referenced
this pull request
Dec 1, 2025
* 添加 GitHub Actions CI/CD 配置文件,包括 PR 构建检查和版本发布工作流,更新 README.md 以说明工作流和快速开始步骤。 * fix: initialize drizzle db lazily * build: optimize docker image with standalone output * build: speed up multi-arch docker build * 优化 Dockerfile,移除镜像源前缀以简化构建过程 * chore: simplify release workflow and deployment docs * fix: ensure release buildx uses container driver * 优化 PR 检查工作流,使用单一架构以提高构建速度,并将镜像直接加载到 Docker daemon,简化后续测试步骤。 * 优化 PR 检查和发布工作流,增强镜像验证步骤,确保 Node.js 版本和应用文件存在性检查,改进版本标签匹配规则。 * Feature/actions (QuantumNous#3) * 添加 GitHub Actions CI/CD 配置文件,包括 PR 构建检查和版本发布工作流,更新 README.md 以说明工作流和快速开始步骤。 * fix: initialize drizzle db lazily * build: optimize docker image with standalone output * build: speed up multi-arch docker build * 优化 Dockerfile,移除镜像源前缀以简化构建过程 * chore: simplify release workflow and deployment docs * fix: ensure release buildx uses container driver * 优化 PR 检查工作流,使用单一架构以提高构建速度,并将镜像直接加载到 Docker daemon,简化后续测试步骤。 * 优化 PR 检查和发布工作流,增强镜像验证步骤,确保 Node.js 版本和应用文件存在性检查,改进版本标签匹配规则。 * 删除 GitHub Actions 配置的 README.md 文件,移除不再需要的文档内容。 * 删除 action 中的 readme (QuantumNous#4) * 添加 GitHub Actions CI/CD 配置文件,包括 PR 构建检查和版本发布工作流,更新 README.md 以说明工作流和快速开始步骤。 * fix: initialize drizzle db lazily * build: optimize docker image with standalone output * build: speed up multi-arch docker build * 优化 Dockerfile,移除镜像源前缀以简化构建过程 * chore: simplify release workflow and deployment docs * fix: ensure release buildx uses container driver * 优化 PR 检查工作流,使用单一架构以提高构建速度,并将镜像直接加载到 Docker daemon,简化后续测试步骤。 * 优化 PR 检查和发布工作流,增强镜像验证步骤,确保 Node.js 版本和应用文件存在性检查,改进版本标签匹配规则。 * 删除 GitHub Actions 配置的 README.md 文件,移除不再需要的文档内容。 * 优化 PR 检查工作流,移除不必要的 Docker 镜像结构测试步骤,以简化构建过程。 * 删除 GitHub Actions 配置中的 README.md 文件,移除不再需要的文档内容。 * 更新 PR 检查工作流,仅在向 main 分支提交 PR 时触发,简化触发条件。
sususu98
pushed a commit
to sususu98/new-api
that referenced
this pull request
Dec 1, 2025
修复 key 不允许登陆 web 面板的设置无效的问题 **问题描述**: - 登录接口正确检查了 canLoginWebUi 权限 - 但中间件只检查 cookie 是否存在,没有重新验证 key 的权限 - 导致用户登录后,管理员修改 canLoginWebUi=false 时,用户仍可访问 dashboard **修复方案**: - 在 middleware 中调用 validateKey() 验证完整权限 - 包括 canLoginWebUi、isEnabled、expiresAt 等检查 - 如果验证失败,清除 cookie 并重定向到登录页 Fixes QuantumNous#3 Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Ding <ding113@users.noreply.github.com>
DeJeune
pushed a commit
to DeJeune/new-api
that referenced
this pull request
Jan 27, 2026
…uantumNous#4) * feat: enhance channel testing with extended model type detection - Exclude image edit models from testing (not supported) - Add endpoint type tracking for embeddings and rerank models - Add image generation detection for qwen and gpt image models - Add response endpoint detection for gpt-5.2 models Co-Authored-By: Claude <noreply@anthropic.com> * feat: add kwai-kolors image generation model detection Add endpoint detection for kwai-kolors image generation models to use /v1/images/generations endpoint during channel testing. Co-Authored-By: Claude <noreply@anthropic.com> * fix: exclude rerank models from embedding detection in channel test Rerank models like BAAI/bge-reranker-v2-m3 contain "bge-" in their name and were incorrectly matched as embedding models. This fix ensures rerank models are properly routed to the /v1/rerank endpoint. Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
zonde306
pushed a commit
to zonde306/new-api
that referenced
this pull request
Feb 12, 2026
zonde306
pushed a commit
to zonde306/new-api
that referenced
this pull request
Feb 12, 2026
zonde306
pushed a commit
to zonde306/new-api
that referenced
this pull request
Feb 13, 2026
zonde306
pushed a commit
to zonde306/new-api
that referenced
this pull request
Feb 14, 2026
cuijinyu
referenced
this pull request
in cuijinyu/new-api
Mar 11, 2026
…ogs-to-aws-s3 feat: asynchronously write LLM raw request/response logs to AWS S3
smysle
added a commit
to smysle/new-api
that referenced
this pull request
Mar 29, 2026
🔴 Critical QuantumNous#1: 管理员补单重复返利 - ManualCompleteTopUp 返回 (completed, creditedQuota, topUpId, userId, err) - 已成功订单返回 completed=false,不再触发返利 - 正确处理 Creem 订单的额度计算(Amount 即额度) 🔴 Critical QuantumNous#2: Webhook 重试导致重复返利 - TopUp 模型新增 InviterRewardSent 字段(GORM AutoMigrate) - ProcessInviterReward 增加 topUpId 参数,通过原子 UPDATE 实现幂等 - 所有调用方传入 topUpId(兑换码场景传 0 跳过检查) 🟠 Major QuantumNous#3: 改 Type 时不检查当前 Value 兼容性 - InviterRewardType 切换到 percentage 时,校验当前 value ≤ 100 🟠 Major QuantumNous#4: 非原子更新 + 吞错误 - 移除双重 quota 更新(IncreaseUserQuota),只更新 aff_quota/aff_history - aff_* 更新失败时返回 error 而非吞掉 Nitpick QuantumNous#1: InputNumber 清空时 String(null) → String(value ?? '') Nitpick QuantumNous#2: API 响应检查 res.some(r => !r || !r.success)
quqi1599
referenced
this pull request
in quqi1599/gmvupup-new-api
Apr 6, 2026
stratosphere-ai
pushed a commit
to stratosphere-ai/new-api
that referenced
this pull request
Apr 12, 2026
Critical fixes: - QuantumNous#1+QuantumNous#10: Wire hourly/daily cap checking into channel selection via ChannelShouldSkip hook + listing cache for hot-path lookups. IncrementHourlyDailyCaps now called after successful trade. - QuantumNous#2: Capture RecordTrade error in relay handler and log it - QuantumNous#3+QuantumNous#4+QuantumNous#6: Wrap RecordTrade in GORM DB.Transaction for atomicity (trade record + seller credit + token count in single tx, rollback on any failure) Important fixes: - QuantumNous#5: Add seller self-service withdrawal request endpoint POST /seller/withdrawal/request with CriticalRateLimit + withdraw button on earnings page - QuantumNous#7: Admin suspend now collects and reports listing disable errors instead of silently ignoring them - QuantumNous#8: Anthropic key validation changed from POST /v1/messages to GET /v1/models (lightweight, read-only, no token consumption) - QuantumNous#9: CriticalRateLimit added to seller register, create listing, create API token, and withdrawal request endpoints https://claude.ai/code/session_01VUyzgwX29o57mjURxJvYiN
x22x22
pushed a commit
to x22x22/new-api
that referenced
this pull request
Apr 24, 2026
Closed
k272314374
pushed a commit
to k272314374/hmrouter
that referenced
this pull request
May 16, 2026
另一窗口页面评审发现 5 处,逐条修复: QuantumNous#1 TASKS M1 任务数 74→104(实质 bug) - 燃尽快报表 / 章节标题 / 关键指标 / 变更日志 四处 74 → 104 - 74 是 9 通道拆分前的旧数;9 通道实际 = DB13+BA10+BB14+BC10+BD13 +FA11+FB13+FC11+OP4+基础设施5 = 104(工作量汇总总计 117 = 9+104+4 反证) - STATE "共 100 任务" → 燃尽 130(M0 12+Spec 5+Phase0 9+M1 104) - 新增 CHK-15:燃尽 M1 数 == M1 章节实际任务行数(防再次失配) QuantumNous#2 PRD §3 "员工账户偏好"行勾选不一致 - 5 管理角色裸 ✅ → 统一 "✅自己"(管理员只能改自己偏好) QuantumNous#3 PAGES §1 命名图例漏 AA 域码 - 补 "AA=Admin-action Audit 元审计" QuantumNous#4 STATE 未记录 5/16 改动 - 头部日期 5/15→5/16;新增 "S-003 续(2026-05-16)" session 记录 (coding-principles / 四层对齐修补 / 仓库重组) - 顺修:第三处编辑误删的 S-002 标题已还原 QuantumNous#5 /admin→/enterprise 路由迁移跨文档残留 - ARCHITECTURE §7 features 树:admin/{announcements,skills,courses} → enterprise/{announcements,skills,courses} - agent-collaboration.md §1 表 + §8 CODEOWNERS 同步 (health/dept-model-acl/system-settings 仍归 admin/ 系统域) - CODEOWNERS 加 enterprise/{announcements,skills,courses} → frontend-c 具体行 一致性 15/15 ✅ Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
jiutubaba
pushed a commit
to jiutubaba/fx-api
that referenced
this pull request
May 17, 2026
…re-provider-sets refactor(backend): 拆分 Wire ProviderSet
jiutubaba
pushed a commit
to jiutubaba/fx-api
that referenced
this pull request
May 17, 2026
…ectness Backend fixes: - QuantumNous#1: doSub subscription idempotency via audit log check - QuantumNous#2: markFailed only when status=RECHARGING (prevents overwriting COMPLETED) - QuantumNous#3: ExpireTimedOutOrders checks upstream payment before expiring - QuantumNous#4: Public verify endpoint for payment result page (no auth required) - QuantumNous#5: EasyPay QueryOrder returns amount, confirmPayment handles zero amount - QuantumNous#6: WxPay notifyUrl priority: request-first, config-fallback - QuantumNous#7: EasyPay remove double URL decode in VerifyNotification - QuantumNous#8: checkPaid/cancelUpstreamPayment use order's provider instance - QuantumNous#9: Amount NaN/Inf/negative validation in order creation and refund - QuantumNous#10: Refund amount comparison uses tolerance instead of float64 == - QuantumNous#11: Skip balance deduction on retry when previous rollback failed - QuantumNous#12: checkPaid logs fulfillment errors instead of silently ignoring - QuantumNous#13: WxPay certSerial added to required config fields Frontend fixes: - Payment result page no longer requires authentication - Public verify API fallback for expired sessions
yujipeng
pushed a commit
to yujipeng/new-api
that referenced
this pull request
May 21, 2026
Round 2 sync per architect's evidence closure (TES-69 comment 87c3958d): - Rewrite 99-pending-items.md: all 12 grey-zone items closed-2026-05-21 with evidence chains + handling outcome; appendix lists 5 known improvements (audio/task gate parity, svip default, three frontend guards, RPM/TPM tooltip, quota_data cleanup) tracked by PJM separately - 03-billing.md #1: add 3.1.4 explaining text-path two gates (SelfUseMode + AcceptUnsetRatioModel) vs audio/task path no-gate asymmetry for unregistered models - 03-billing.md QuantumNous#2 (in 02): rewrite TopupGroupRatio as topup-side discount/markup multiplier, not billing-side; document formula, four payment paths, fallback 1.0 behavior - 03-billing.md QuantumNous#9: rewrite OtherRatios as active dynamic billing multiplier for task/image paths (seconds/size/n), list adapters, clarify text-path no-op semantics; remove "reserved field" wording - 01/02 QuantumNous#3 QuantumNous#4 QuantumNous#5 QuantumNous#6 QuantumNous#7: operational hints planted (group ref check, FixAbility low-peak single-instance, double-write reminder w/ note that automatic linkage check is not yet implemented, svip default workaround, ip log default-false with compliance rationale) - 05-faq QuantumNous#8 errata: actual error message is MsgDistributorTokenModelForbidden ("该 token 不允许使用模型 X"), not "token model limit is empty"; FAQ scene 4 rewritten as full troubleshooting chain - 05-faq QuantumNous#10 QuantumNous#11 QuantumNous#12: planted hints for usingGroup-only logs.group (open other.user_group / other.token_group after schema extension), RPM/TPM as 60s snapshot, quota_data cleanup via DBA - README, 5.2 summary table, 5.3 troubleshooting matrix, and inline anchors updated to match new 99-pending-items.md headings Co-authored-by: multica-agent <github@multica.ai>
7 tasks done
zer0Black
added a commit
to Agents-Zone/sili-smart-api
that referenced
this pull request
Aug 1, 2026
Co-Authored-By: Claude <noreply@anthropic.com>
6 of 9 tasks
salem-2007
added a commit
to salem-2007/new-api
that referenced
this pull request
Sep 10, 2026
添加了图生文 混图路由
salem-2007
added a commit
to salem-2007/new-api
that referenced
this pull request
Sep 10, 2026
m15068160369-design
added a commit
to m15068160369-design/new-api
that referenced
this pull request
Sep 16, 2026
Chat-completion relays whose completion_tokens is 0 are billed 0 quota
across all channels; pre-consumed quota is fully refunded by
SettleBilling. Scope: RelayMode in {ChatCompletions, Completions,
Responses, Unknown(=Claude native /v1/messages)} with prompt side >0.
Embeddings/images/moderations/rerank/gemini are untouched (their
completion is always 0). Thinking-token quota unchanged (completion
includes reasoning tokens, thinking >0 still bills).
m15068160369-design
added a commit
to m15068160369-design/new-api
that referenced
this pull request
Sep 26, 2026
…us#6) Channel 11 upstream reports no cache tokens while the same models on other channels hit real cache 79-94% of prompt tokens, making ch11 billing counter-intuitively MORE expensive for pay-per-use clients. Inject cache_tokens = 80% of prompt in calculateTextQuotaSummary when ALL of: - ChannelMeta != nil and ChannelId == 11 - ChatCompletions-family relay (reuses isChatCompletionRelay from patch QuantumNous#4) - Upstream reported zero cached tokens (never override real cache) - PromptTokens > 0 - 0 < CacheRatio < 1 (model has a cache discount configured; skips unconfigured models like deepseek-v4.1-flash whose ratio defaults to 1) The injected value feeds both the billing formula and the log other.cache_tokens atomically; client-facing usage frames stay untouched. Pure arithmetic, no IO. 7-case test matrix guards every branch.
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 通过。
Aidenjoy
pushed a commit
to Aidenjoy/utoken
that referenced
this pull request
Nov 5, 2026
转移台账只存 org_id,企业被硬删后名称回填不到,之前只剩一个和企业列表 对不上号的「企业 QuantumNous#4」。现在名称可解析时 ID 与名称并排展示,解析不到时 直接标注「已删除」,管理员不必再拿孤立 ID 猜对手方是谁。
kratos-xzm
pushed a commit
to HWLM/new-api
that referenced
this pull request
Nov 20, 2026
Reviewer 抓到的真 bug:decideConcurrencyAction 里三个出口用的是「map 里有该
分组条目」(hasGroupCfg),而不是「该分组有自定义上限」(groupLimited)。
于是配了 {"limit":0,"fallback":false} 或 limit=-1 的分组,在只超总并发时
会被判成 Reject / RateLimitFallback,而不是规格 §21.4/§21.6 QuantumNous#4 的旧行为。
- 判据改为 groupLimited(limit > 0):limit<=0 或缺省 = 没配分组速率,
只超总并发一律走渠道自配的 FallbackChannelId,一个字节都不变。
- 函数签名去掉 hasGroupCfg,杜绝再拿它做判据。
- 测试 QuantumNous#8 的注释与断言原本自相矛盾(把 bug 固化成了 wantReject),
改成正解 wantLegacy。
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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.
No description provided.