Calcium-Ion
6a42ccf00e
Merge pull request #569 from utopeadia/main
...
Modify the default gemini API to v1beta
2024-11-17 16:27:38 +08:00
Calcium-Ion
7aa7114bb9
Merge branch 'main' into main
2024-11-17 16:27:29 +08:00
Calcium-Ion
c3e6b2408e
Merge pull request #570 from leezhuuuuu/main
...
增加对于gemini-exp-1114模型的支持,映射到v1beta
2024-11-17 16:26:36 +08:00
leezhuuuuu
4601932902
feat: add support for gemini-exp-1114 model / 添加 gemini-exp-1114 模型支持
...
# feat: add support for gemini-exp-1114 model / 添加 gemini-exp-1114 模型支持
## Changes / 更改内容
- Add gemini-exp-1114 to ModelList in constant.go
- Add gemini-exp-1114 to GeminiModelMap with v1beta API version
- 在 constant.go 的 ModelList 中添加 gemini-exp-1114 模型
- 在 GeminiModelMap 中添加 gemini-exp-1114 的 v1beta API 版本映射
## Testing / 测试情况
- [x] Tested gemini-exp-1114 model API calls / 已测试 gemini-exp-1114 模型的 API 调用
- [x] Verified existing models still work / 验证现有模型仍然正常工作
- [x] Confirmed v1beta API version works correctly / 确认 v1beta API 版本正常工作
## Related Issues / 相关问题
- Fix 404 error when calling gemini-exp-1114 model / 修复调用 gemini-exp-1114 模型时的 404 错误
## Implementation Details / 实现细节
- Use configuration-based approach instead of code modification / 使用基于配置的方式而不是修改代码
- Maintain clean separation of concerns / 保持关注点分离
- Keep backward compatibility / 保持向后兼容性
## Notes / 注意事项
- This PR follows the principle of minimal invasion / 本 PR 遵循最小侵入原则
- Configuration changes only / 仅包含配置更改
2024-11-16 21:52:37 +08:00
leezhuuuuu
5d96f7b2cc
增加对于gemini-exp-1114模型的支持,映射到v1beta
...
feat(gemini): add support for gemini-exp-1114 model
- Add gemini-exp-1114 to ModelList in constant.go
- Update GetRequestURL in adaptor.go to use v1beta API version for gemini-exp-1114
- Keep backward compatibility for other models
This change enables the use of the experimental gemini-exp-1114 model by correctly routing its requests to the v1beta API endpoint while maintaining existing functionality for other models.
2024-11-16 21:29:35 +08:00
HowieWood
8eb32e9b3f
Modify the default gemini API to v1beta
2024-11-16 12:21:50 +00:00
CalciumIon
320e6ec5a4
fix: aws claude
2024-11-14 15:12:34 +08:00
Calcium-Ion
8baeece386
Merge pull request #564 from Licoy/main
...
优化页面组件大小规格一致
2024-11-12 22:39:34 +08:00
licoy
08023f6d96
feat: 增加GLOBAL_API_RATE_LIMIT_ENABLE
与GLOBAL_WEB_RATE_LIMIT_ENABLE
环境变量,支持是否开启访问速率控制
2024-11-12 20:02:33 +08:00
licoy
fad29a8cc2
feat: 增加GLOBAL_API_RATE_LIMIT_DURATION
与GLOBAL_WEB_RATE_LIMIT_DURATION
环境变量,支持控制访问速率时间设置
2024-11-12 20:01:43 +08:00
licoy
67d09d68c6
feat: 优化数据管理操作栏均为顶部
2024-11-12 17:00:06 +08:00
licoy
cdc02f660b
feat: 优化switch组件的大小规格与整体表单一致
2024-11-12 16:32:40 +08:00
licoy
674abe5ae2
feat: 统一运营设置页面的保存按钮大小规格
2024-11-12 16:30:51 +08:00
Calcium-Ion
0b0bcbab80
Merge pull request #563 from Licoy/main
...
封装OAuth2授权回调页面、修复独立日志数据库查询令牌日志时错误问题
2024-11-12 16:27:46 +08:00
licoy
450bea8f2c
修复独立日志数据库查询令牌日志时错误问题
2024-11-12 16:22:13 +08:00
licoy
bf75df8f04
优化设置页面的模块间距与部分数据获取提示
2024-11-12 16:17:55 +08:00
licoy
c6dae4b879
封装OAuth2授权回调页面
2024-11-12 16:11:38 +08:00
Calcium-Ion
a5abd40ff6
Merge pull request #505 from OiAnthony/f_dotenv
...
feat: 添加.env配置文件和初始化环境变量
2024-11-11 22:06:09 +08:00
CalciumIon
b012505ff4
chore: update .env.example
2024-11-11 22:05:29 +08:00
CalciumIon
c7c870d4c6
chore: update .env.example
2024-11-11 22:04:51 +08:00
CalciumIon
66fa020be8
feat: update LinuxDo icon
2024-11-11 17:29:54 +08:00
Calcium-Ion
6d47b2c5a1
Merge pull request #562 from seefs001/main
...
feat: integrate Linux DO OAuth authentication
2024-11-11 17:25:40 +08:00
CalciumIon
85b90e89e6
fix: LinuxDo OAuth
2024-11-11 17:24:57 +08:00
CalciumIon
e291bb02d0
feat: playground用户分组设为默认选项
...
(cherry picked from commit dd7e9afed43bca3807c4680d28b5cef97f3bf880)
2024-11-11 16:43:20 +08:00
CalciumIon
34998f7939
fix: 非root日志展开bug
...
(cherry picked from commit 23121a3caf74be60f178bfd5f898a77de02b6d35)
2024-11-11 16:34:36 +08:00
seefs001
046f859d92
feat: integrate Linux DO OAuth authentication
2024-11-10 23:56:22 +08:00
CalciumIon
8fc49f98d2
fix: returnPreConsumedQuota
2024-11-10 02:09:18 +08:00
CalciumIon
4131183378
feat: realtime扣费时检测令牌额度
...
(cherry picked from commit 91511b8b64fc0d28dbf657cb97e12b7d1e50070d)
2024-11-07 17:28:53 +08:00
CalciumIon
3b53a2a5ce
feat: 完善audio倍率
2024-11-07 16:42:08 +08:00
CalciumIon
97fdcd8e8f
feat: 完善audio计费
2024-11-07 16:12:09 +08:00
Calcium-Ion
be652fa3c2
Merge pull request #555 from utopeadia/main
...
Continue fixing Ollama embedding return issue
2024-11-06 21:13:06 +08:00
CalciumIon
cbf0688b80
feat: update model ratio
2024-11-06 19:33:50 +08:00
HowieWood
2ffa4268fc
Continue fixing Ollama embedding return issue
2024-11-06 01:21:02 +00:00
Calcium-Ion
3037dfab5b
Merge pull request #552 from utopeadia/main
...
Modify ollama embed return fields
2024-11-05 22:05:45 +08:00
CalciumIon
b40c2e1071
feat: 美化日志页面
...
(cherry picked from commit 90daa38d5bea7b158ebed9990f042f6bf8567eb3)
2024-11-05 20:45:01 +08:00
Xyfacai
afc1e92ed0
fix: log table unknown ws prop error
2024-11-05 20:20:19 +08:00
1808837298@qq.com
ee04dbd9dd
feat: 日志详情完善
...
(cherry picked from commit ec79110c99e9b4c076c5f7b8285e535b9c5052db)
2024-11-05 20:19:58 +08:00
HowieWood
5253a0e7b2
Modify ollama embed return fields
2024-11-05 20:12:51 +08:00
CalciumIon
e5588fc1ee
Update README.md
2024-11-05 19:48:03 +08:00
Calcium-Ion
a859ff5985
Merge pull request #551 from Calcium-Ion/realtime
...
feat: support openai realtime api
2024-11-05 19:45:43 +08:00
CalciumIon
0a80231e18
chore: 删除无用日志
2024-11-05 19:41:38 +08:00
CalciumIon
7b1ff41e4c
fix: mistral adaptor
2024-11-05 19:32:51 +08:00
1808837298@qq.com
4e0c522cd0
fix: realtime计费
...
(cherry picked from commit fdfea8726c6d86d3844af1ac18d7b3df908f26a7)
2024-11-05 19:29:06 +08:00
1808837298@qq.com
f08f7ae940
fix: channel test
...
(cherry picked from commit 052bdab1c45b3a4ba5f079afc763f54e751b1cd7)
2024-11-05 19:28:58 +08:00
Xyfacai
be64408a25
fix(realtime): 修复ws 握手失败、计费问题
...
(cherry picked from commit 618dffc43fd5a5f4065944db87761f9ee18e44d3)
2024-11-05 19:28:46 +08:00
Xyfacai
d596699250
refactor: realtime log
...
(cherry picked from commit fd24dc467bfc360008b313220e607f0176ee7aa3)
2024-11-05 19:28:09 +08:00
Xyfacai
f0907bf60a
fix: 部分情况缺少返回预扣
...
(cherry picked from commit 96373455521a38095706bd81c57f9a18557d9c2e)
2024-11-05 19:28:08 +08:00
1808837298@qq.com
e5c05d77b7
feat: realtime pre consume
...
(cherry picked from commit 273d154e1640bae26b7caedddf1685e9ff21ab74)
2024-11-05 19:28:06 +08:00
1808837298@qq.com
24b3ed50d7
feat: realtime pre consume
...
(cherry picked from commit d87917f8f6eb9d2e144a9f840d6d91767ea2eb69)
2024-11-05 19:28:03 +08:00
1808837298@qq.com
8de79382f0
feat: azure realtime
...
(cherry picked from commit 75ff3d98f06103dc2df1f8817bd3fcbf433e0f20)
2024-11-05 19:27:55 +08:00