Commit Graph

83 Commits

Author SHA1 Message Date
b1a9d6b685 add: support replicate 2024-01-23 15:20:22 +08:00
1fc17daa35 deny allow list if unknown model 2024-01-21 15:37:26 +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
3a59433f66 append error 2024-01-16 12:03:23 +08:00
873548a7d0 fix: body larger than 1024*128 2024-01-16 11:32:06 +08:00
2a2d907b0d fix: podman image build 2024-01-11 16:43:40 +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
b8ebbed5d6 fix: recognize '/v1' prefix 2023-12-07 00:51:21 +08:00
412aefdacc fix: record resp time 2023-11-30 10:24:00 +08:00
2c3532f12f add hostname 2023-11-30 10:18:01 +08:00
7d93332e51 fix: record body json 2023-11-30 10:06:10 +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
0a2a7376f1 update dep 2023-11-28 14:36:14 +08:00
44a966e6f4 clean code 2023-11-28 14:04:42 +08:00
87244d4dc2 update docs 2023-11-28 10:42:06 +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
3cc507a767 add docker file 2023-11-27 17:53:28 +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
4125c78f33 record response time 2023-11-17 14:53:49 +08:00
31eed99025 support multiple auth header 2023-11-16 15:48:09 +08:00
6c9eab09e2 record authorization 2023-11-16 15:42:37 +08:00
6aab4fb44b 120 timeout if only one upstream v0.3.0 2023-11-08 20:42:36 +08:00
b932331bdc 20s timeout for large request 2023-11-08 20:18:55 +08:00
a2c6fa32ed default 60s timeout 2023-11-08 18:42:35 +08:00
9d8e76bd2d do not parse unused body 2023-11-08 18:40:31 +08:00
ebc04228c5 update readme 2023-11-02 09:40:10 +08:00
3c4c2b5660 fix error response code 2023-11-01 17:53:57 +08:00
a3fff93f2e hasResponse on error 2023-11-01 17:34:11 +08:00
c90a18d380 record model name 2023-11-01 17:02:30 +08:00
d9a42842b2 1m timeout for non stream request 2023-11-01 15:55:54 +08:00
5a78c61e5f timeout for out going request 2023-11-01 15:25:59 +08:00
eced585361 Merge remote-tracking branch 'shanghai/master' 2023-10-31 18:40:33 +08:00
98a15052a2 fix: should response 2023-10-31 18:35:29 +08:00
7572ecf19b fix: retry with 502 2023-10-31 18:34:58 +08:00
9f2bb46233 update print 2023-10-31 18:34:41 +08:00
d8948d065a add vscode debug 2023-10-31 18:10:09 +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