Skip to content

[pull] main from ChatGPTNextWeb:main#30

Open
pull[bot] wants to merge 650 commits into
HorizenX1:mainfrom
ChatGPTNextWeb:main
Open

[pull] main from ChatGPTNextWeb:main#30
pull[bot] wants to merge 650 commits into
HorizenX1:mainfrom
ChatGPTNextWeb:main

Conversation

@pull

@pull pull Bot commented Sep 18, 2024

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull Bot added the ⤵️ pull label Sep 18, 2024
Dogtiti and others added 29 commits December 30, 2024 19:27
fix issue #6009  add setting items for deepseek
修复 VISION_MDOELS 在 docker 运行阶段不生效的问题
Correct the typos in user-manual-cn.md
fix: prevent message sync between forked sessions by generating unique IDs
TIANQIAN1238 and others added 30 commits July 6, 2026 12:23
Cover plain-string wrapping, object stringification, the empty-object
special case, and already-fenced json passthrough (app/utils/format.ts).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Cover non-gateway passthrough, well-formed openai/azure gateway urls,
and rebuilding an openai gateway url by dropping middle path segments
(app/utils/cloudflare.ts).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Cover the gpt-4 / chatgpt-4o / o1 families, the gpt-4o-mini exclusion,
and non-matching models (app/utils/model.ts).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
test: add unit tests for prettyObject
test: add unit tests for cloudflareAIGatewayUrl
Adds coverage for the previously untested getOperationId helper in
app/utils.ts (explicit operationId, method+path derivation, slash
replacement, and the allowed id pattern). Purely additive — no existing
files are changed.

Co-authored-by: ytj-zuel <15623621570>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds a small, focused, additive unit-test file (test/format-chunks.test.ts).
No existing files are modified or removed. yarn test:ci passes locally.

Co-authored-by: ytj-zuel <15623621570>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds a small, focused, additive unit-test file (test/hmac-hex.test.ts).
No existing files are modified or removed. yarn test:ci passes locally.

Co-authored-by: ytj-zuel <15623621570>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds a small, focused, additive unit-test file (test/hmac-hash.test.ts).
No existing files are modified or removed. yarn test:ci passes locally.

Co-authored-by: ytj-zuel <15623621570>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds a small, focused, additive unit-test file (test/hmac-sign.test.ts).
No existing files are modified or removed. yarn test:ci passes locally.

Co-authored-by: ytj-zuel <15623621570>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds a small, focused, additive unit-test file (test/safe-local-storage.test.ts).
No existing files are modified or removed. yarn test:ci passes locally.

Co-authored-by: ytj-zuel <15623621570>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds a small, focused, additive unit-test file (test/adapter.test.ts).
No existing files are modified or removed. yarn test:ci passes locally.

Co-authored-by: ytj-zuel <15623621570>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds a small, focused, additive unit-test file (test/collect-model-table.test.ts).
No existing files are modified or removed. yarn test:ci passes locally.

Co-authored-by: ytj-zuel <15623621570>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds a small, focused, additive unit-test file (test/collect-model-with-default.test.ts).
No existing files are modified or removed. yarn test:ci passes locally.

Co-authored-by: ytj-zuel <15623621570>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds a small, focused, additive unit-test file (test/model-available-in-server.test.ts).
No existing files are modified or removed. yarn test:ci passes locally.

Co-authored-by: ytj-zuel <15623621570>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Cover the navigator-based platform detection helpers (app/utils.ts) by stubbing navigator.userAgent for iOS, Firefox, macOS and other platforms.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Cover default fields (role/content/id/date), override application, and id uniqueness for createMessage (app/store/chat.ts).

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Cover matching a ```json:mcp fenced block and rejecting ordinary content / plain json blocks (app/mcp/utils.ts).

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Cover extracting the client id and parsed payload from a json:mcp block, and returning null when absent (app/mcp/utils.ts).

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Cover the client-side branch of getClientConfig (app/config/client.ts): empty object with no config meta tag, and parsing the meta tag content when present.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The server reads AZURE_API_KEY, AZURE_URL and AZURE_API_VERSION
(app/config/server.ts) for the Azure provider, but none of them were
listed in .env.template. Add them next to the OpenAI settings.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
app/config/server.ts reads API key / url env vars for xAI, Moonshot,
Stability, Baidu, ByteDance, Alibaba, Tencent, iFlytek and ChatGLM, but
none of them were listed in .env.template. Add them so self-hosters can
discover the supported providers.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds a small, focused, additive unit-test file (test/valid-string.test.ts).
No existing files are modified or removed. yarn test:ci passes locally.

Co-authored-by: ytj-zuel <15623621570>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds a small, focused, additive unit-test file (test/get-bearer-token.test.ts).
No existing files are modified or removed. yarn test:ci passes locally.

Co-authored-by: ytj-zuel <15623621570>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds a small, focused, additive unit-test file (test/limit-number.test.ts).
No existing files are modified or removed. yarn test:ci passes locally.

Co-authored-by: ytj-zuel <15623621570>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds a small, focused, additive unit-test file (test/modal-config-validator.test.ts).
No existing files are modified or removed. yarn test:ci passes locally.

Co-authored-by: ytj-zuel <15623621570>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds a small, focused, additive unit-test file (test/tts-config-validator.test.ts).
No existing files are modified or removed. yarn test:ci passes locally.

Co-authored-by: ytj-zuel <15623621570>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds a small, focused, additive unit-test file (test/chat-command-prefix.test.ts).
No existing files are modified or removed. yarn test:ci passes locally.

Co-authored-by: ytj-zuel <15623621570>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds a small, focused, additive unit-test file (test/prosody-options.test.ts).
No existing files are modified or removed. yarn test:ci passes locally.

Co-authored-by: ytj-zuel <15623621570>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.