Repository navigation
增加了一个超链聊天跳转 - #49
Closed
guoruqiang wants to merge 1 commit into
Closed
增加了一个超链聊天跳转#49guoruqiang wants to merge 1 commit into
guoruqiang wants to merge 1 commit into
Conversation
在“运营设置里面”增加了“聊天页面2链接”,方便将项目(https://github.com/Dooy/chatgpt-web-midjourney-proxy) 替换掉原来的AMA问天。 Changes to be committed: modified: common/constants.go modified: controller/misc.go modified: model/option.go modified: web/src/App.js modified: web/src/components/OperationSetting.js modified: web/src/components/TokensTable.js
sususu98
pushed a commit
to sususu98/new-api
that referenced
this pull request
Dec 1, 2025
针对 claude bot 在 PR QuantumNous#49 中提出的 4 个改进建议进行修复: 1. proxy-agent.ts - 修复 fallbackToDirect 默认值处理 - 使用空值合并运算符 (??) 确保默认值为 false - 避免 undefined/null 导致降级逻辑失效 2. env.schema.ts - 提取布尔值转换逻辑为公共函数 - 减少代码重复,提高可维护性 - 5 处重复逻辑统一使用 booleanTransform 函数 3. forwarder.ts - 修复代理降级逻辑的配置残留问题 - 创建新的配置对象而非修改原对象 - 避免代理配置残留导致的潜在问题 4. proxy-test-button.tsx - 改进超时错误提示 - 提供详细的故障排查步骤 - 延长 toast 显示时间到 5 秒 所有修复已通过 typecheck 和 format 验证。 Ref: QuantumNous#49 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
sususu98
pushed a commit
to sususu98/new-api
that referenced
this pull request
Dec 1, 2025
|
本地 Agent 已接管,开始处理 #49... |
|
PR 已创建:https://github.com/AlphaBetaChain/new-api/pull/76 变更摘要:审计全部 4 个路由文件(api-router.go、relay-router.go、dashboard.go、status-router.go)的中间件链配置,确认鉴权层级正确,无未授权访问风险。在 security-audit-api-response.md 中记录审计结果。 |
jiutubaba
pushed a commit
to jiutubaba/fx-api
that referenced
this pull request
May 17, 2026
fran0220
pushed a commit
to dev-fan-sophon/boxai
that referenced
this pull request
Jul 30, 2026
…oauth-shell-ws fix: harden local trust boundaries (shell allowlist, MCP OAuth loopback, WS ingestion)
Firesuiry
pushed a commit
to Firesuiry/tako-newapi
that referenced
this pull request
Aug 27, 2026
fix(subscription): clarify quota reset windows
jahnli
pushed a commit
to jahnli/new-api
that referenced
this pull request
Oct 17, 2026
Upstream scope: 22 commits / 123 files since the last sync (ef60ef2). 19 conflicted files were resolved one by one with explicit confirmation: 9 manual merges, 3 files taken from upstream (console search refactor plus its new test), and key-set unions in all 7 locale files. Every auto-merged file was reviewed one by one and both sides' changes are preserved (line-level check: no local line and no upstream line lost). No upstream deletions. Local behavior kept: QuantumNous#2 AIGatewayError naming across relaykit and host error paths, QuantumNous#23/QuantumNous#24 LDAP login and LDAP default login, QuantumNous#27 avatar_url, QuantumNous#29/QuantumNous#31 removed OAuth providers, QuantumNous#37 subscription and violation fee flow, QuantumNous#39 user management table, QuantumNous#45/QuantumNous#69/QuantumNous#71 data overview access and BP roles, QuantumNous#49 pricing currency, QuantumNous#51/QuantumNous#56/QuantumNous#65 profile, audit and demo mode, QuantumNous#54/QuantumNous#55/QuantumNous#57 pricing square and dashboard/four-token stats, QuantumNous#58 online image generation, QuantumNous#60 API key interactions, QuantumNous#61 auto subscribe, QuantumNous#62 admin entry permissions, QuantumNous#77 removed frontend update check, seven-locale custom copy, header-removal convention. Upstream adopted: QuantumNous#7822 upstream address masking (upstreamURLs plumbing through relaykit error paths, task errors, WebSocket error events, playground/relay/gemini/chat_via_responses/violation fee), QuantumNous#7317 container cgroup overload sentinel with consecutive and freshness sampling, QuantumNous#7816 Claude explicit zero usage and cache-only billing, QuantumNous#7813 pricing sorts by input/output/per-request price, QuantumNous#7840 provider rules for Cloudflare and NVIDIA, QuantumNous#7814 sensitive word filtering off by default, AWS Mantle Messages API, Vertex multi-region hostnames and API key project_id, Hailuo/Vidu/Veo plugin channel bindings and Vidu billing, per-group rate limits, API key owner quota query, moejs v0.1.0-alpha.7, theme class applied before first paint, console search limited to sidebar pages. Collateral decisions (user approved): removed local test web/src/components/__tests__/command-menu-permissions.test.tsx (superseded by upstream command-menu.test.tsx) and added the newly required allow_user_quota_query field to the web/src/features/keys/components/__tests__/api-key-timestamp-cell.test.tsx fixture. Verification: go build ./... exit 0; GOWORK=off go build ./... in relaykit exit 0; gofmt clean on modified Go files; web bun run typecheck exit 0; oxlint clean on the 49 merged web files; bun run i18n:sync reports missingCount 0 and extrasCount 0 for all seven locales; no conflict markers left; every upstream commit's added lines are present. Not verified: SQLite/MySQL/PostgreSQL migration matrix for the new tokens.allow_user_quota_query column, unit tests (not run per project rule), web production build, runtime manual checks.
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.
在“运营设置里面”增加了“聊天页面2链接”,方便将项目(https://github.com/Dooy/chatgpt-web-midjourney-proxy) 替换掉原来的AMA问天。这样可以部署多个聊天前端。
Changes to be committed:
modified: common/constants.go
modified: controller/misc.go
modified: model/option.go
modified: web/src/App.js
modified: web/src/components/OperationSetting.js
modified: web/src/components/TokensTable.js