Laisky.Cai
f47c70aaa2
Merge branch 'upstream/main'
2025-01-31 10:32:35 +00:00
Fennng
09911a301d
feat: support hunyuan-embedding ( #2035 )
...
* feat: support hunyuan-embedding
* chore: improve implementation
---------
Co-authored-by: LUO Feng <luofeng@flowpp.com>
Co-authored-by: JustSong <quanpengsong@gmail.com>
2025-01-31 16:48:02 +08:00
Laisky.Cai
d5fa98f2e0
fix: translate error messages and comments to English for consistency
2025-01-27 03:34:27 +00:00
Laisky.Cai
13b1b165bd
refactor: update UI text and error messages to English for better accessibility
2025-01-19 12:59:58 +00:00
Laisky.Cai
feacea0321
feat: support vertex imagen3
2025-01-12 04:18:57 +00:00
Laisky.Cai
082cfbe574
Merge remote-tracking branch 'origin/upstream/main'
2024-11-20 02:09:28 +00:00
wanthigh
c368232f50
fix: changeoptional field to pointer type ( #1907 )
...
* fix:修复在渠道配置中设置模型重定向时,temperature为0被忽略的问题
* fix: set optional fields to pointer type
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-11-09 23:31:46 +08:00
Laisky.Cai
3f905ea0a4
Merge branch 'upstream/main'
2024-09-25 09:22:57 +00:00
lihangfu
32f90a79a8
feat: support SparkDesk-v3.1-128K ( #1732 )
...
* feat: 支持SparkDesk-v3.1-128K以及hunyuan-vision
* feat: 支持SparkDesk-v3.1-128K以及hunyuan-vision
---------
Co-authored-by: lihangfu <hfli8@iflytek.com>
2024-09-22 16:29:09 +08:00
Laisky.Cai
c20f27ec45
Merge remote-tracking branch 'origin/upstream/main'
2024-07-01 03:09:33 +00:00
zijiren
b21b3b5b46
refactor: abusing goroutines and channel ( #1561 )
...
* refactor: abusing goroutines
* fix: trim data prefix
* refactor: move functions to render package
* refactor: add back trim & flush
---------
Co-authored-by: JustSong <quanpengsong@gmail.com>
2024-06-30 18:36:33 +08:00
Laisky.Cai
0164cdbcf2
Merge remote-tracking branch 'origin/upstream/main'
2024-06-24 01:46:01 +00:00
lihangfu
279caf82dc
feat: support tencent v3 api ( #1542 )
...
Co-authored-by: lihangfu <hfli8@iflytek.com>
2024-06-20 00:23:08 +08:00
Laisky.Cai
c524e60d9f
Merge remote-tracking branch 'origin/upstream/main'
2024-05-29 06:12:37 +00:00
Laisky.Cai
ca23dd9a97
Merge commit '1c2654320e5b6268b13b6efca40ce37a523d032b'
2024-04-28 01:53:31 +00:00
Laisky.Cai
c735b9b4d3
Merge commit '2369025842b828ac38f4427fd1ebab8d03b1fe7f'
2024-04-20 01:07:29 +00:00
Laisky.Cai
50bab08496
Refactor codebase, introduce relaymode package, update constants and improve consistency
...
- Refactor constant definitions and organization
- Clean up package level variables and functions
- Introduce new `relaymode` and `apitype` packages for constant definitions
- Refactor and simplify code in several packages including `openai`, `relay/channel/baidu`, `relay/util`, `relay/controller`, `relay/channeltype`
- Add helper functions in `relay/channeltype` package to convert channel type constants to corresponding API type constants
- Remove deprecated functions such as `ResponseText2Usage` from `relay/channel/openai/helper.go`
- Modify code in `relay/util/validation.go` and related files to use new `validator.ValidateTextRequest` function
- Rename `util` package to `relaymode` and update related imports in several packages
2024-04-06 05:18:04 +00:00
JustSong
24ed170e7b
chore: reorganize adaptor related package
2024-04-06 01:36:48 +08:00