Commit Graph

6 Commits

Author SHA1 Message Date
CaIon
7115390fc8 support gpt-4-1106-vision-preview 2023-11-17 20:32:37 +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
6738c45ccb fix: fix zhipu streaming (#349)
* Fix #348

* chore: update implementation

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-08-01 23:51:28 +08:00
JustSong
17b9b9efad fix: convert system message to user message for zhipu 2023-07-27 23:32:00 +08:00
JustSong
91f8d22369 feat: support zhipu's ChatGLM (close #289) 2023-07-23 11:51:44 +08:00