Xyfacai
bb08de0b11
fix: 修复gemini2openai 没有返回 usage
2025-08-04 09:06:57 +08:00
CaIon
1f9134cd6b
feat: add support for multi-key channels in RelayInfo and access token caching
2025-08-02 22:12:15 +08:00
Calcium-Ion
d74910968f
Merge pull request #1486 from nekohy/fix-get-google-models
...
fix: correct Gemini channel model retrieval logic
2025-08-02 14:52:22 +08:00
Nekohy
272c52b4d9
fix: correct Gemini channel model retrieval logic
2025-08-02 14:19:32 +08:00
CaIon
f4f73016bf
fix: improve error handling and readability in ability.go
2025-08-02 14:06:12 +08:00
CaIon
fad5fc3f7d
feat: truncate abilities table before processing channels
2025-08-02 13:39:53 +08:00
CaIon
8ceda7b95f
feat: add caching for keys in channel structure and retain polling index during sync
2025-08-02 13:16:30 +08:00
CaIon
316c0a594e
feat: retain polling index for multi-key channels during sync
2025-08-02 13:04:48 +08:00
CaIon
f0b024eb77
feat: enhance ConvertGeminiRequest to set default role and handle YouTube video MIME type
2025-08-02 12:53:58 +08:00
Calcium-Ion
adc69404a8
Merge pull request #1484 from QuantumNous/ConvertGeminiRequest
...
feat: Convert gemini request
2025-08-02 12:20:39 +08:00
CaIon
7d4c9955f1
feat: add recordErrorLog option to NewAPIError for conditional error logging
2025-08-02 11:07:50 +08:00
CaIon
2d4149c5dc
feat: implement key mode for multi-key channels with append/replace options
2025-08-02 10:57:03 +08:00
creamlike1024
502c5dde9c
Merge remote-tracking branch 'origin/alpha' into ConvertGeminiRequest
2025-08-01 22:42:48 +08:00
creamlike1024
1968cff5bd
chore: remove debug log
2025-08-01 22:29:19 +08:00
creamlike1024
689dbfe71a
feat: convert gemini format to openai chat completions
2025-08-01 22:23:35 +08:00
CaIon
52f419bc3b
feat: add admin info to error logging with multi-key support
2025-08-01 18:19:28 +08:00
CaIon
0080123779
fix: ensure ChannelIsMultiKey context key is set to false for single key retries
2025-08-01 18:09:20 +08:00
CaIon
2578c39c7d
refactor: simplify streamResponseGeminiChat2OpenAI by removing hasImage return value and optimizing response text handling
2025-08-01 17:58:21 +08:00
CaIon
87c16db2d7
fix: update JSONEditor to default to manual mode for invalid JSON and add error message for invalid data
2025-08-01 17:21:25 +08:00
Calcium-Ion
624aad15bf
Merge pull request #1481 from seefs001/revert-1445-feature/claude-code
...
Revert "feat: add Claude Code channel support with OAuth integration"
2025-08-01 17:05:22 +08:00
CaIon
de23f66785
fix: handle case where no response is received from Gemini API
2025-08-01 17:04:16 +08:00
Seefs
3b34afa8c9
Revert "feat: add Claude Code channel support with OAuth integration"
2025-07-31 22:08:16 +08:00
Calcium-Ion
7eccf42513
Merge pull request #1445 from seefs001/feature/claude-code
...
feat: add Claude Code channel support with OAuth integration
2025-07-31 21:28:23 +08:00
Seefs
2bc8de398e
fix: handle authorization code format in ExchangeCode function and update placeholder in EditChannelModal
2025-07-31 21:27:24 +08:00
Seefs
c45676e3ca
Merge branch 'alpha' into feature/claude-code
...
# Conflicts:
# web/src/components/table/channels/modals/EditChannelModal.jsx
2025-07-31 21:19:43 +08:00
CaIon
563d056ff7
refactor: update error handling to support dynamic error types
2025-07-31 21:16:01 +08:00
CaIon
6d2e92fb7b
feat: add JSONEditor component for enhanced JSON input handling
2025-07-31 12:54:07 +08:00
CaIon
590e6db670
fix: 修复被禁用的渠道无法测试的问题
2025-07-31 10:56:51 +08:00
CaIon
40848f28d4
fix: correct request mode assignment logic in adaptor
2025-07-30 23:32:20 +08:00
CaIon
91febc3097
fix: remove debug print statement
2025-07-30 23:29:45 +08:00
CaIon
a2fbf368c1
fix: 修复缓存开启下自动禁用失效
2025-07-30 23:26:09 +08:00
Xyfacai
9055698b4f
feat: 显式指定 error 跳过重试
2025-07-30 22:35:31 +08:00
creamlike1024
3db78818cf
Merge branch 'RedwindA-fix/gemini-native-sse' into alpha
2025-07-30 20:37:10 +08:00
creamlike1024
1bb8a314cb
Merge branch 'fix/gemini-native-sse' of github.com:RedwindA/new-api into RedwindA-fix/gemini-native-sse
2025-07-30 20:34:12 +08:00
CaIon
28ededaf8e
fix: WriteContentType panic
2025-07-30 20:31:51 +08:00
IcedTangerine
017c0b19ec
Merge pull request #1405 from RedwindA/fix/gemini-nothinking-handler
...
fix: improve gemini nothinking handler
2025-07-30 20:31:26 +08:00
CaIon
9afb9b594d
feat: 错误内容脱敏
2025-07-30 19:08:35 +08:00
CaIon
2d1cd5595c
Merge remote-tracking branch 'origin/alpha' into alpha
2025-07-30 18:39:32 +08:00
CaIon
2db71673a5
fix: auto ban
2025-07-30 18:39:19 +08:00
IcedTangerine
d7c9b65245
Merge pull request #1472 from QuantumNous/revert-1385-patch-1
...
Revert 1385 patch 1
2025-07-30 12:19:57 +08:00
IcedTangerine
f56040ae21
Revert "Update relay-claude.go"
2025-07-30 12:17:56 +08:00
IcedTangerine
cfabf2c0d9
Merge pull request #1385 from QingyeSC/patch-1
...
Update claude topP argument
2025-07-30 00:12:57 +08:00
CaIon
efb7c6a15e
fix: auto ban
2025-07-29 23:08:16 +08:00
CaIon
a1caf37f5b
fix: auto ban
2025-07-29 15:20:08 +08:00
t0ng7u
e0d9a419be
Merge remote-tracking branch 'origin/alpha' into alpha
2025-07-28 01:33:36 +08:00
t0ng7u
e85bf7b1b0
✨ feat: Enhance Channel Model Management UI
...
Summary
• Introduced standalone `ModelSelectModal.jsx` for selecting channel models
• Fetch-list now opens modal instead of in-place select, keeping EditChannelModal lean
Modal Features
1. Search bar with `IconSearch`, keyboard clear & mobile full-screen support
2. Tab layout (“New Models” / “Existing Models”) displayed next to title, responsive wrapping
3. Models grouped by vendor via `getModelCategories` and rendered inside always-expanded `Collapse` panels
4. Per-category checkbox in panel extra area for bulk select / deselect
5. Footer checkbox for bulk select of all models in current tab, with real-time counter
6. Empty state uses `IllustrationNoResult` / `IllustrationNoResultDark` for visual consistency
7. Accessible header/footer paddings aligned with Semi UI defaults
Fixes & Improvements
• All indeterminate and full-select states handled correctly
• Consistent “selected X / Y” stats synced with active tab, not global list
• All panels now controlled via `activeKey`, ensuring they remain expanded
• Search, vendor grouping, and responsive layout tested across mobile & desktop
These changes modernise the channel model management workflow and prepare the codebase for upcoming upstream-ratio integration.
2025-07-28 01:33:23 +08:00
CaIon
10f025ea45
fix: increase maximum request count limits for user rate settings
2025-07-27 16:46:34 +08:00
Calcium-Ion
a35419c629
Merge pull request #1446 from Raymondxox/fix
...
模型请求速率限制,增加对请求次数最大值的限制
2025-07-27 16:33:49 +08:00
CaIon
1c5ba67ed3
fix: ensure minimum quota display and handle zero values in render function
2025-07-27 16:32:14 +08:00
Raymond
1bc4c240ed
模型请求速率限制,增加对请求次数最大值的限制
2025-07-27 16:01:59 +08:00