zkp
20c47c12b4
Update: Gemini channel fetch_models
2025-04-08 22:43:13 +08:00
mango
37aa5ec3b4
fix(batch add model list): fix the issue of fetching model list failure in batch add channel
2025-01-07 12:42:37 +08:00
mango
6fddeb6d2f
feat(channel model list): modify fetching model list in add channel to fetch by type
2025-01-07 12:40:36 +08:00
Calcium-Ion
7baa204e9c
Fix model name length validation limit
2025-01-05 22:02:46 +08:00
Calcium-Ion
e275229597
Fix channel model length issue
...
Fixes #691
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Calcium-Ion/new-api/issues/691?shareId=XXXX-XXXX-XXXX-XXXX ).
2025-01-05 21:55:25 +08:00
CalciumIon
fe29ca04d5
feat: Implement batch tagging functionality for channels
...
- Added a new endpoint to batch set tags for multiple channels, allowing users to update tags efficiently.
- Introduced a new `BatchSetChannelTag` function in the controller to handle incoming requests and validate parameters.
- Updated the `BatchSetChannelTag` method in the model to manage database transactions and ensure data integrity during tag updates.
- Enhanced the ChannelsTable component in the frontend to support batch tag setting, including UI elements for user interaction.
- Updated localization files to include new translation keys related to batch operations and tag settings.
2024-12-25 14:19:00 +08:00
CalciumIon
975b4a4679
fix: get upstream models
2024-12-24 20:48:21 +08:00
CalciumIon
b46efdc8c2
feat: Add FetchModels endpoint and refactor FetchUpstreamModels
...
- Introduced a new `FetchModels` endpoint to retrieve model IDs from a specified base URL and API key, enhancing flexibility for different channel types.
- Refactored `FetchUpstreamModels` to simplify base URL handling and improve error messages during response parsing.
- Updated API routes to include the new endpoint and adjusted the frontend to utilize the new fetch mechanism for model lists.
- Removed outdated checks for channel type in the frontend, streamlining the model fetching process.
2024-12-24 18:02:08 +08:00
CalciumIon
727236e6e7
fix: 渠道标签开启下使用ID排序出错
2024-12-09 20:38:03 +08:00
CalciumIon
c296dfbe0e
feat: 兼容渠道搜索下标签聚合功能
2024-12-06 22:03:50 +08:00
CalciumIon
d2fc3fa739
feat: add tag aggregation mode to channels API and UI
2024-12-01 09:24:43 +08:00
CalciumIon
341e1b72eb
feat: 完善标签编辑
2024-11-30 16:57:58 +08:00
CalciumIon
31df701579
feat: 完善标签编辑
2024-11-29 23:58:31 +08:00
CalciumIon
792d24d24d
feat: 一键编辑标签下渠道重定向
2024-11-19 01:43:05 +08:00
CalciumIon
325de98738
feat: 渠道标签分组
2024-11-19 01:13:18 +08:00
CalciumIon
39a2d552fb
feat: 检测vertex渠道部署地区是否填写
2024-08-28 18:47:27 +08:00
CalciumIon
5d8151aff2
feat: 支持vertex ai渠道多个部署地区
2024-08-28 18:43:40 +08:00
CalciumIon
b8664e71e6
feat: support vertex ai #377
2024-08-27 20:19:51 +08:00
bubu
35349a8f9a
添加同步上游模型列表按钮:添加提示以及支持已有渠道获取
2024-05-21 22:16:20 +08:00
1808837298@qq.com
eff61d87b1
feat: Add channel search by model field ( close #72 )
2024-03-01 21:57:52 +08:00
CaIon
3c91d7539c
feat: able to fix channels
2024-01-10 13:23:43 +08:00
CaIon
a12421ebe2
添加批量删除渠道功能
2023-12-14 16:35:03 +08:00
CaIon
f9495e91ea
更新渠道管理
2023-12-05 18:15:40 +08:00
CaIon
ba7e6324d3
Merge remote-tracking branch 'origin/main'
...
# Conflicts:
# README.md
# go.mod
# go.sum
# model/log.go
# web/src/App.js
# web/src/components/ChannelsTable.js
2023-10-16 17:31:26 +08:00
JustSong
63bd941d99
feat: able to delete all disabled channels
2023-10-14 17:25:48 +08:00
JustSong
cfd3093b95
feat: able to delete all manually disabled channels ( close #539 )
2023-10-02 13:06:27 +08:00
CaIon
3fcbf1f070
feat: 新增渠道页面选择每页显示数量
2023-09-23 03:51:04 +08:00
JustSong
f506056015
perf: preallocate array capacity
2023-08-30 21:15:56 +08:00
JustSong
990d1f7c63
chore: make channel test related code separated
2023-05-23 10:01:09 +08:00
JustSong
f6ae3bcbb6
fix: disable channel with a whitelist
2023-05-21 20:58:00 +08:00
JustSong
14662c3fde
fix: fix channel test error checking
2023-05-18 11:41:03 +08:00
JustSong
8cd4e3faa4
fix: handel error response from server correctly ( close #90 )
2023-05-18 11:11:15 +08:00
JustSong
b77eb0c65d
perf: use max_tokens to reduce token consuming
2023-05-16 16:22:25 +08:00
JustSong
f43a810e8d
feat: automatically disable channel when error occurred ( #59 )
2023-05-15 17:34:09 +08:00
JustSong
f46f41514c
fix: fix lock is not working
2023-05-15 16:19:39 +08:00
JustSong
93b00d62a6
feat: able to test all enabled channels ( #59 )
2023-05-15 12:36:55 +08:00
JustSong
210952bd1e
feat: save response time & test time ( #59 )
2023-05-15 11:35:38 +08:00
JustSong
d0d3142edb
feat: able to test channels now ( #59 )
2023-05-15 10:48:52 +08:00
JustSong
bc87b023f5
feat: support batch creation of channels ( close #58 )
2023-05-13 17:08:13 +08:00
JustSong
12aa6c352b
Relay done but not working
2023-04-23 18:24:11 +08:00
JustSong
28e8e89e28
Able to manage channels now
2023-04-23 15:42:23 +08:00
JustSong
bc88176dc5
Channel API done without verification
2023-04-22 22:02:59 +08:00
JustSong
074df0f131
Remove useless page
2023-04-22 21:41:16 +08:00