ai-gateway/controller
igophper 476a46ad7e
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
..
billing.go feat: add access_until field for subscription api (#295) 2023-07-23 13:49:09 +08:00
channel-billing.go perf: reuse http client to reduce delay 2023-07-23 15:18:58 +08:00
channel-test.go fix: prompt user that channel test is unavailable 2023-07-29 23:54:09 +08:00
channel.go chore: make channel test related code separated 2023-05-23 10:01:09 +08:00
github.go feat: support aff now (close #75) 2023-06-17 18:12:58 +08:00
group.go feat: able to set group ratio now (close #62, close #142) 2023-06-11 11:08:16 +08:00
log.go feat: able to query token with admin user 2023-06-24 19:13:33 +08:00
misc.go feat: support email domain whitelist (#337) 2023-07-30 12:44:41 +08:00
model.go feat: support xunfei's llm (close #206) 2023-07-29 21:55:57 +08:00
option.go feat: support email domain whitelist (#337) 2023-07-30 12:44:41 +08:00
redemption.go feat: now user can top up via redemption code (close #9) 2023-04-26 17:02:26 +08:00
relay-ali.go fix: fix finish_reason fileld not fully compatible with OpenAI (close #372, #373) 2023-08-12 11:04:53 +08:00
relay-baidu.go fix: fix finish_reason fileld not fully compatible with OpenAI (close #372, #373) 2023-08-12 11:04:53 +08:00
relay-claude.go fix: fix finish_reason fileld not fully compatible with OpenAI (close #372, #373) 2023-08-12 11:04:53 +08:00
relay-image.go perf: reuse http client to reduce delay 2023-07-23 15:18:58 +08:00
relay-openai.go fix: calculate usage if not given in non-stream mode (#352) 2023-08-06 17:40:31 +08:00
relay-palm.go fix: fix finish_reason fileld not fully compatible with OpenAI (close #372, #373) 2023-08-12 11:04:53 +08:00
relay-text.go fix: fix stream mode determine related logic (close #360) 2023-08-06 18:09:00 +08:00
relay-utils.go fix: fix finish_reason fileld not fully compatible with OpenAI (close #372, #373) 2023-08-12 11:04:53 +08:00
relay-xunfei.go fix: fix finish_reason fileld not fully compatible with OpenAI (close #372, #373) 2023-08-12 11:04:53 +08:00
relay-zhipu.go fix: fix finish_reason fileld not fully compatible with OpenAI (close #372, #373) 2023-08-12 11:04:53 +08:00
relay.go fix: fix finish_reason fileld not fully compatible with OpenAI (close #372, #373) 2023-08-12 11:04:53 +08:00
token.go feat: improve frontend (#387) 2023-08-12 10:49:30 +08:00
user.go feat: able to delete account by self (#294) 2023-07-23 13:37:32 +08:00
wechat.go feat: support aff now (close #75) 2023-06-17 18:12:58 +08:00