Commit Graph

156 Commits

Author SHA1 Message Date
Sh1n3zZ
6ff57f1231
feat: gpt-image-1 2025-04-29 21:08:28 +08:00
Sh1n3zZ
f787f3513a
feat: add coze channel (#365) 2025-04-29 19:12:52 +08:00
Minghan Zhang
7a467e6e7f Fix SMTP compatibility issues to support office365 provider
Add support for multiple SMTP providers in `utils/smtp.go`.

* **Provider-specific handling**:
  - Add specific handling for Outlook, QQ, Office365, Resend, and Tencent SMTP policies.
  - Use `switch` statement to set `TLSConfig` based on the SMTP host.
2024-12-03 17:11:51 +08:00
Minghan Zhang
5986f49bd9
chore: modify comment lang (by copilot space) 2024-11-27 14:31:00 +08:00
Oganneson
c85898ebc8
将smtp.go转换为gomail.v2实现以解决StartTLS相关问题 2024-11-26 04:00:05 +08:00
XiaomaiTX
b01ef7a9b2 chore: compatible zeabur env 2024-07-23 17:37:06 +08:00
Deng Junhai
576213d21f fix: nil pointer dereference error when carrying an image to a conversation (#221) 2024-07-01 14:38:14 +08:00
Deng Junhai
afb13dd545 feat: support max timeout env (#175)
Co-Authored-By: Minghan Zhang <112773885+zmh-program@users.noreply.github.com>
2024-06-30 02:14:59 +08:00
Deng Junhai
16aba18926 chore: Compatible with pre-modified SMTP sending method (#174) 2024-06-23 19:25:40 +08:00
Deng Junhai
6f3cdad1e7 feat: SMTP Compatibility Enhancement and SSL Protocol Support (#174) 2024-06-23 03:04:52 +08:00
Deng Junhai
cdada929a5 fix: fix image extract ext (#208)
Co-Authored-By: Minghan Zhang <112773885+zmh-program@users.noreply.github.com>
2024-06-22 11:43:44 +08:00
Deng Junhai
78ff6a19a4 fix: fix tool calls required omitempty field
Co-Authored-By: Minghan Zhang <112773885+zmh-program@users.noreply.github.com>
2024-06-22 02:36:00 +08:00
Deng Junhai
c81b599e90 feat: update and optimize tokenizer performance (#191)
Co-Authored-By: Minghan Zhang <112773885+zmh-program@users.noreply.github.com>
2024-06-22 01:59:27 +08:00
Deng Junhai
807ff59438 fix: fix midjourney chunk stacking problem (#156) and stop signal cannot trigger in some channel formats issue
Co-Authored-By: Minghan Zhang <112773885+zmh-program@users.noreply.github.com>
2024-03-31 17:40:19 +08:00
Deng Junhai
ae063e943a fix: fix midjourney chunk stacking problem (#156) and stop signal cannot trigger in some channel formats issue
Co-Authored-By: Minghan Zhang <112773885+zmh-program@users.noreply.github.com>
2024-03-31 17:31:52 +08:00
Zhang Minghan
93c18bb34c feat: support authentication in http/https/socks5 proxies (#126) 2024-03-15 19:23:00 +08:00
Zhang Minghan
92fcbab39e feat: support detail debugging (#118) 2024-03-15 14:16:54 +08:00
Zhang Minghan
14dc10025f feat: support claude 3 opus, sonnet and haiku (support vision) (#93) 2024-03-14 23:52:31 +08:00
Zhang Minghan
e037276387 feat: support for channel configuration proxy (#101) 2024-03-14 18:03:28 +08:00
Zhang Minghan
8dde7c4f5f fix: fix relay api auto fill route feat in serve_static mode 2024-03-13 20:26:59 +08:00
Zhang Minghan
9ecaf9fcd1 feat: support storage dalle images in backend (#88) 2024-03-12 23:18:54 +08:00
Zhang Minghan
9db6bd205d feat: support grop cloud (#108) 2024-03-12 17:25:51 +08:00
Zhang Minghan
3335e81c1e feat: support custom pwa manifest 2024-03-12 11:45:59 +08:00
Zhang Minghan
f7a135af0e fix: fix sharing message use message action issue 2024-03-11 20:09:34 +08:00
Zhang Minghan
de5d863686 feat: support gift code operation (#90) 2024-03-11 16:28:47 +08:00
Zhang Minghan
9f41572b40 chore: sync feat in redeem table 2024-03-09 17:29:48 +08:00
Zhang Minghan
4f0390815c feat alpha: support sqlite engine 2024-03-08 23:46:49 +08:00
Zhang Minghan
52419e1b2b feat: support relay midjourney-proxy format 2024-03-08 22:18:45 +08:00
Zhang Minghan
fe6c9b0d14 feat: use builtin handler instead of redirect 2024-03-08 16:35:05 +08:00
Zhang Minghan
be2bd3da35 feat: seo optimization (#91) 2024-03-08 16:15:30 +08:00
Zhang Minghan
e88f233731 feat: support catch empty error 2024-03-06 10:01:30 +08:00
Zhang Minghan
7cf6bd1ed8 feat: support rename conversation, support vision capability for claude-3 models and fix high context bug (#83) 2024-03-06 09:31:01 +08:00
Zhang Minghan
efc76c3642 feat: support function calling and tools calling in relay chat_completions! (#20) (#30) 2024-02-18 12:08:25 +08:00
Zhang Minghan
ccd9f13eaa fix: fix frontend base64 image matcher, input tokens and b64images content hidden in un-vision models 2024-02-17 23:39:57 +08:00
Zhang Minghan
357d22a940 feat: support function calling (alpha) 2024-02-16 21:21:27 +08:00
Zhang Minghan
c5ab97a94e fix: fix base64 images buffer billing 2024-02-15 18:39:18 +08:00
Zhang Minghan
b95bf94503 fix: fix base64 images additional billing 2024-02-15 17:33:27 +08:00
Zhang Minghan
1128f0014f feat: support base64 images 2024-02-15 15:48:06 +08:00
Zhang Minghan
4cd5c422c0 feat: support base64 image in frontend 2024-02-15 13:18:58 +08:00
Zhang Minghan
780a55a109 feat: support model cache buffer feature (support cache expiration cache accepted models cache size) 2024-02-13 15:08:03 +08:00
Zhang Minghan
09dd77efe8 feat: optimize openai stream scanner buffer and error catching for chat completions and completions 2024-02-03 11:19:14 +08:00
Zhang Minghan
ed14c5a9d6 feat: hiding secret for some "lazy" models (#67) 2024-02-02 19:57:24 +08:00
Zhang Minghan
66707736f9 feat: support gpt-3.5-turbo-0125 model 2024-02-02 09:03:41 +08:00
Zhang Minghan
1f52d56e46 feat: support midjourney upscale / variation / reroll actions (#40) 2024-02-02 09:01:12 +08:00
Zhang Minghan
59e822264b feat: support gpt-4-0125-preview, gpt-4-turbo-preview, gpt-4-1106-vision-preview models 2024-01-30 23:32:27 +08:00
Zhang Minghan
36dbeac62c feat: suppport customize max_tokens, temperature, top_p, top_k, presenece_penalty, frequency_penalty, repetition_penalty (#56) 2024-01-30 12:51:46 +08:00
Zhang Minghan
0bbc2d9ee2 optimize: smtp optimization 2024-01-25 20:30:57 +08:00
Zhang Minghan
a72ea845b2 feat: support arm64 in stable image 2024-01-25 16:14:12 +08:00
Zhang Minghan
651d529678 feat: support sorted model analysis chart 2024-01-23 12:04:20 +08:00
Zhang Minghan
5dc965992a feat: update plan config and websocket connection deadline feature 2024-01-16 18:12:20 +08:00