495f32610b
refactor: pipe the read and write process
...
this refactor simplify the process logic and fix several bugs and
performance issue.
bug fixed:
- cors headers not being sent in some situation
performance:
- perform upstream reqeust while clien is uploading content
2024-05-27 14:47:00 +08:00
75ff8fbc2e
Refactor CORS handling and remove response's CORS headers
2024-04-09 19:07:28 +08:00
990628b455
bro gooooo
2024-02-17 00:30:27 +08:00
46ee30ced7
use path as default model name
2024-02-16 22:31:32 +08:00
b1a9d6b685
add: support replicate
2024-01-23 15:20:22 +08:00
b1ab9c3d7b
add allow & deny model list, fix cors on error
2024-01-16 17:11:25 +08:00
8672899a58
change log format
2024-01-16 16:23:27 +08:00
2bbe98e694
fix duplicated cors headers
2024-01-04 19:03:58 +08:00
9fdbf259c0
truncate requset body if too long
2024-01-04 18:41:26 +08:00
97926087bb
async record request
2024-01-04 18:37:01 +08:00
fc5a8d55fa
fix: process error content type
2023-12-22 15:08:24 +08:00
b1e3a97aad
fix: cors and content-type on error
2023-12-22 14:24:11 +08:00
04a2e4c12d
use cors middleware
2023-12-22 13:23:41 +08:00
2c3532f12f
add hostname
2023-11-30 10:18:01 +08:00
0dbd898532
update config yaml
2023-11-29 14:40:20 +08:00
7b74818676
update config to file
2023-11-29 14:31:11 +08:00
11bf18391e
update docs
2023-11-28 10:22:12 +08:00
0785d43ff1
support postgres
2023-11-28 10:19:07 +08:00
de3bea06a7
convert config to yaml file
2023-11-27 18:08:15 +08:00
dad4ad2b97
update readme.md
2023-11-27 17:28:29 +08:00
fb19d8a353
upstreams.yaml
2023-11-27 17:19:08 +08:00
6aab4fb44b
120 timeout if only one upstream
2023-11-08 20:42:36 +08:00
c90a18d380
record model name
2023-11-01 17:02:30 +08:00
eced585361
Merge remote-tracking branch 'shanghai/master'
2023-10-31 18:40:33 +08:00
9f2bb46233
update print
2023-10-31 18:34:41 +08:00
2c75c392a8
loop through upstreams
2023-10-31 18:10:01 +08:00
acc153ddca
拆分 process
2023-10-31 10:13:20 +08:00
471627712b
/v1/metrics
2023-10-24 00:55:47 +08:00
584103eba3
Merge remote-tracking branch 'shanghai/master'
2023-10-24 00:54:01 +08:00
fd61e49759
add metrics
2023-10-24 00:52:20 +08:00
449d636749
ignore context cancle
2023-10-18 17:57:46 +08:00
34a6bb8515
add feishu and matrix error report
2023-10-18 14:01:24 +08:00
1a1226568f
record error
2023-10-08 15:39:12 +08:00
1e770db740
send notification
2023-09-28 15:58:11 +08:00
de1f9c1e94
remove upstream count
2023-09-28 15:57:30 +08:00
8342e47e4b
asis & readme
2023-09-28 15:42:22 +08:00
043fb3db85
upstream asis
2023-09-16 10:52:33 +08:00
1fcdc59b63
fix: cors in resp
2023-09-15 19:55:05 +08:00
638feaf381
panic recover
2023-09-15 18:22:21 +08:00
7c53581ff2
integer id
2023-09-15 18:00:17 +08:00
34beab9429
delete api
2023-09-15 11:57:30 +08:00
2f2c4464ea
record time
2023-08-10 12:42:12 +08:00
536540335d
fix cors bug on data response
2023-07-28 16:18:54 +08:00
a9ca26c3ec
fix cors
2023-07-19 23:56:31 +08:00
fd390577d5
record response and uuid
2023-07-18 18:35:53 +08:00
c35f169e3b
allow cors
2023-07-18 14:35:15 +08:00
f0c7a95f77
ignore 400
2023-07-13 14:31:08 +08:00
8889da73ab
record full request body
2023-07-11 14:51:19 +08:00
7f0e0b8a9d
init
2023-07-10 18:22:21 +08:00