Commit Graph

12 Commits

Author SHA1 Message Date
CaIon
48b94dd24d update GeneralOpenAIRequest 2023-12-20 21:20:09 +08:00
CaIon
7115390fc8 support gpt-4-1106-vision-preview 2023-11-17 20:32:37 +08:00
MaricoHan
46326b4751 feat: support xunfei v3 (#637) 2023-10-29 22:03:01 +08:00
JustSong
215cad9bae fix: fix array index not checked (close #588) 2023-10-14 16:11:15 +08:00
igophper
6c5dea7b01 feat: support non-stream mode for xunfei (#498)
* feat:xunfei suport none stream

* fix:join content ignore seq

---------

Co-authored-by: igophper <admin@jialilgu.cn>
2023-09-17 18:16:12 +08:00
滔哥
ad3aef34a7 feat: support xunfei's v2 api (#442, close #440)
* 兼容讯飞v2接口

* Revert "兼容讯飞v2接口"

This reverts commit 21f05d1294b8693d0a21664a23ec04f028b9b117.

* fix: fix implementation

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
2023-08-19 17:50:34 +08:00
igophper
c4e10c561a refactor: add set event stream headers func (#402)
封装流式传输响应头的设置
2023-08-12 21:55:18 +08:00
igophper
7cd99c186e fix: fix finish_reason fileld not fully compatible with OpenAI (close #372, #373)
* optimize:unify finish_reason field

* refactor: use a global stop finish reason

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-08-12 11:04:53 +08:00
glzjin
aed80b18f1 fix: fix SparkDesk not billed (#344) 2023-08-06 13:24:49 +08:00
JustSong
bd80f77f2b fix: close connection when response ended 2023-07-29 23:52:18 +08:00
JustSong
c2be293853 chore: update prompt for xunfei 2023-07-29 22:05:15 +08:00
JustSong
11e62bb63f feat: support xunfei's llm (close #206) 2023-07-29 21:55:57 +08:00