Commit Graph

7 Commits

Author SHA1 Message Date
mlkt
b7ff3af40b
Merge 04aee84485 into 2b2dc2c733 2024-11-10 00:01:15 +08: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
leavegee
15f815c23c
fix: fix ali embedding model always use v1 (#1747)
* fix:ali embedding model: v2 and v3

* chore: use ctxkey.RequestModel to eliminate hardcoding

---------

Co-authored-by: xuejia <gexuejia@djbx.com>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-09-21 22:40:06 +08:00
mlkt
04aee84485 Merge remote-tracking branch 'remotes/origin_songquanpeng/main'
# Conflicts:
#	relay/adaptor/openai/adaptor.go
#	relay/controller/text.go
2024-08-07 06:24:20 +08: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
mlkt
076ec68989 fix: ali image model cannot be found and the error with the incorrect return format. 2024-06-12 17:42:15 +08:00
JustSong
24ed170e7b chore: reorganize adaptor related package 2024-04-06 01:36:48 +08:00