Commit Graph

27 Commits

Author SHA1 Message Date
Sh1n3zZ
9f6cec4298
feat: add input token and quota calculation for API request pre-checks 2025-02-24 20:24:18 +08:00
Deng Junhai
140bed53f9 fix: nil pointer dereference error when carrying an image to a conversation (#221) 2024-07-02 21:41:23 +08:00
Deng Junhai
04ad6afa98 feat alpha: support searxng
feat alpha: support searxng

Co-Authored-By: Minghan Zhang <112773885+zmh-program@users.noreply.github.com>
2024-06-27 23:56:04 +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
269c3a23fa fix: fix relay plan
fix: fix relay plan
Co-Authored-By: Minghan Zhang <112773885+zmh-program@users.noreply.github.com>
2024-04-04 12:14:19 +08:00
Zhang Minghan
40cb56761d feat: support close relay api (#111 #112) 2024-03-13 14:25:02 +08:00
Zhang Minghan
422da58b24 restruct: restruct channel factories 2024-03-12 14:36:18 +08:00
Zhang Minghan
834ddc4163 fix: fix completions role field 2024-03-10 17:46:36 +08:00
Zhang Minghan
66d3f7f7e6 fix: fix tool calls stop reason 2024-02-18 23:32:17 +08:00
Zhang Minghan
b6604f379f debug: remove usage and quota fields 2024-02-18 22:17:57 +08:00
Zhang Minghan
72c55d8b1d fix: auto get role 2024-02-18 21:52:34 +08:00
Zhang Minghan
104b5d3aac fix: remove role in relay stream response 2024-02-18 21:08:44 +08:00
Zhang Minghan
e14fb02fb9 fix: filter empty chunk 2024-02-18 20:52:38 +08:00
Zhang Minghan
a3b7efd611 fix 2024-02-18 18:10:30 +08:00
Zhang Minghan
082bd0695a feat: tools_call finish reason 2024-02-18 17:34:38 +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
dfec399d3d support tools calling in chat_completions relay 2024-02-16 09:38:43 +08:00
Zhang Minghan
304e071718 feat: support customize subscription usage cover relay api 2024-02-14 09:09:05 +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
d0b5c90df9 feat: improve the billing checking system 2024-02-03 12:04:59 +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
a3a9e5a525 feat: update quota tooltip and article generation style mobile adapter, edit message and delete message alpha version (#51) 2024-01-26 10:39:50 +08:00
Zhang Minghan
5593a0932f feat: support openai images generations format 2023-12-29 10:54:28 +08:00
Zhang Minghan
7ab1629955 feat: add azure models and fix dashscope models 2023-12-29 10:31:13 +08:00
Zhang Minghan
61c917765b feat: add gpt-4-vision-preview transhipment format support 2023-12-28 23:12:37 +08:00