CalciumIon
a7e1d17c3e
feat: Introduce settings package and refactor constants
...
- Added a new `setting` package to replace the `constant` package for configuration management, improving code organization and clarity.
- Moved various configuration variables such as `ServerAddress`, `PayAddress`, and `SensitiveWords` to the new `setting` package.
- Updated references throughout the codebase to use the new `setting` package, ensuring consistent access to configuration values.
- Introduced new files for managing chat settings and midjourney settings, enhancing modularity and maintainability of the code.
2024-12-22 17:24:29 +08:00
CalciumIon
f9a7f6085e
feat: Add GEMINI_VISION_MAX_IMAGE_NUM configuration
...
- Introduced `GEMINI_VISION_MAX_IMAGE_NUM` to README files for better user guidance.
- Updated `env.go` to retrieve the maximum image number from environment variables, defaulting to 16.
- Modified image handling logic in `relay-gemini.go` to respect the new configuration, allowing disabling of the limit by setting it to -1.
- Removed hardcoded constant for maximum image number in `constant.go` to streamline configuration management.
2024-12-20 21:36:23 +08:00
CalciumIon
f2809917f8
feat: implement channel settings configuration
...
fix #620
2024-12-15 15:52:41 +08:00
CalciumIon
195ab1fdd5
feat: add gemini tool_calls finish reason
2024-12-06 14:31:27 +08:00
CalciumIon
7b3394d863
chore: update default STREAMING_TIMEOUT
2024-11-28 23:59:10 +08:00
HowieWood
8eb32e9b3f
Modify the default gemini API to v1beta
2024-11-16 12:21:50 +00:00
1808837298@qq.com
40baa636e4
fix: 修复自定义聊天bug
...
(cherry picked from commit 8d41c17ccf19cb29100dbe506d3d42a6be822ff9)
2024-10-13 00:21:52 +08:00
1808837298@qq.com
89ddf83b44
feat: 弃用旧的聊天配置
2024-10-12 21:09:59 +08:00
GuoRuqiang
6bbf1d4843
Merge branch 'Calcium-Ion:main' into main
2024-09-14 19:00:03 +08:00
Yan
0b5f2a7089
add gemini exp
2024-09-11 19:37:03 +08:00
Jin Weihan
716bf6f48a
增加环境变量GENERATE_DEFAULT_TOKEN 设置之后将生成初始令牌,默认关闭。
2024-08-24 18:44:37 +00:00
CalciumIon
e504665f68
feat: 优化Gemini模型版本获取逻辑
2024-08-02 17:23:59 +08:00
kakingone
2100d8ee0c
addupload
2024-07-31 15:48:51 +08:00
CalciumIon
14bf865034
feat: add UPDATE_TASK env
2024-07-18 17:26:21 +08:00
CalciumIon
ae00a99cf5
feat: 媒体请求计费选项
2024-07-18 17:04:19 +08:00
CalciumIon
a075598757
fix: stream options
2024-07-08 21:54:32 +08:00
CalciumIon
a984daa503
feat: update FORCE_STREAM_OPTION default value
2024-07-08 21:41:52 +08:00
CalciumIon
03b130f2b5
feat: 允许设置是否检测mj任务已完成才可进行action操作 ( close #349 )
2024-07-08 16:48:10 +08:00
CalciumIon
b0e234e8f5
feat: support stream_options
2024-07-08 01:27:57 +08:00
CalciumIon
20d71711d3
feat: add env DIFY_DEBUG
2024-07-07 02:24:51 +08:00
CalciumIon
d767ae04ff
chore: 重构
2024-06-27 19:30:17 +08:00
CalciumIon
fc6ae6bf34
feat: 支持设置流模式超时时间
2024-06-27 17:17:23 +08:00
Calcium-Ion
1e2c1ee950
Merge pull request #310 from Calcium-Ion/feat/suno-api
...
Feat/suno api
2024-06-21 14:59:59 +08:00
1808837298@qq.com
eb79880502
feat: 记录自动禁用原因 ( close #300 )
2024-06-15 01:11:03 +08:00
Xiangyuan Liu
c993ab2746
feat: suno api 支持
...
feat: 调试 suno
feat: 补充suno 文档
2024-06-13 10:35:48 +08:00
1808837298@qq.com
099068f543
feat: 支持设置worker访问请求中的图片地址
2024-05-28 17:59:53 +08:00
1808837298@qq.com
bfbbe67fcd
refactor: 重构敏感词
2024-05-23 23:59:55 +08:00
1808837298@qq.com
cad380eb16
feat: able to set AccountFilter
2024-05-01 01:37:47 +08:00
CaIon
1162683b4d
feat: 可设置是否转发上游mj图片地址
2024-04-18 18:02:09 +08:00
CaIon
818bd824da
feat: 前端不显示敏感信息
2024-04-18 17:52:18 +08:00
iszcz
5961de03e7
清除--mode
2024-04-06 23:08:50 +08:00
CaIon
44a8ade4ba
fix: remove sensitive check on completion ( close #157 )
2024-03-29 22:20:14 +08:00
CaIon
d7e25e1604
fix: fix SensitiveWords load error
2024-03-20 23:58:42 +08:00
CaIon
c7658b70d1
fix: 敏感词库为空时,不检测
2024-03-20 22:33:22 +08:00
CaIon
2db4282666
feat: 保留功能
2024-03-20 20:15:32 +08:00
CaIon
7a663d26ec
feat: 初步兼容敏感词过滤
2024-03-20 17:07:42 +08:00
CaIon
4917e5a92f
feat: 允许开关mj回调
2024-03-14 21:21:37 +08:00
CaIon
9b5353a81a
feat: support InsightFace ( close #60 )
2024-03-14 18:09:57 +08:00
CaIon
d704902b70
feat: 兼容自定义变焦,完善modal操作
2024-03-14 16:42:37 +08:00
CaIon
3d10c9f090
feat: 将操作拆分成单独的模型
2024-03-13 21:19:48 +08:00
CaIon
d5ffaf2502
feat: 操作细分
2024-03-13 18:26:16 +08:00
CaIon
2ad591411e
feat: support shorten
2024-03-13 17:46:34 +08:00
CaIon
728dbed28d
feat: 兼容变焦功能
2024-03-13 16:29:27 +08:00
CaIon
37c0c8ebdd
feat: 初步兼容midjourney-proxy-plus
2024-03-13 15:37:01 +08:00