Commit Graph
93 Commits
Author SHA1 Message Date
heimoshuiyu db7f0eb316 timeout 2024-02-18 16:45:37 +08:00
heimoshuiyu 990628b455 bro gooooo 2024-02-17 00:30:27 +08:00
heimoshuiyu e8b89fc41a record all json request body 2024-02-16 22:42:48 +08:00
heimoshuiyu 46ee30ced7 use path as default model name 2024-02-16 22:31:32 +08:00
heimoshuiyu f2e32340e3 fix typo 2024-02-16 17:47:40 +08:00
heimoshuiyu ca386f8302 record whisper response 2024-02-15 16:52:33 +08:00
heimoshuiyu 3385f9af08 fix: replicate mistral prompt 2024-01-23 16:38:45 +08:00
heimoshuiyu 8fa7fa79be less: replicate log 2024-01-23 15:56:48 +08:00
heimoshuiyu 49169452fe fix: read config upstream type default value 2024-01-23 15:52:46 +08:00
heimoshuiyu 33f341026f fix: replicate response format 2024-01-23 15:43:48 +08:00
heimoshuiyu b1a9d6b685 add: support replicate 2024-01-23 15:20:22 +08:00
heimoshuiyu 1fc17daa35 deny allow list if unknown model 2024-01-21 15:37:26 +08:00
heimoshuiyu b1ab9c3d7b add allow & deny model list, fix cors on error 2024-01-16 17:11:25 +08:00
heimoshuiyu 8672899a58 change log format 2024-01-16 16:23:27 +08:00
heimoshuiyu 3a59433f66 append error 2024-01-16 12:03:23 +08:00
heimoshuiyu 873548a7d0 fix: body larger than 1024*128 2024-01-16 11:32:06 +08:00
heimoshuiyu 2a2d907b0d fix: podman image build 2024-01-11 16:43:40 +08:00
heimoshuiyu 2bbe98e694 fix duplicated cors headers 2024-01-04 19:03:58 +08:00
heimoshuiyu 9fdbf259c0 truncate requset body if too long 2024-01-04 18:41:26 +08:00
heimoshuiyu 97926087bb async record request 2024-01-04 18:37:01 +08:00
heimoshuiyu fc5a8d55fa fix: process error content type 2023-12-22 15:08:24 +08:00
heimoshuiyu b1e3a97aad fix: cors and content-type on error 2023-12-22 14:24:11 +08:00
heimoshuiyu 04a2e4c12d use cors middleware 2023-12-22 13:23:41 +08:00
heimoshuiyu b8ebbed5d6 fix: recognize '/v1' prefix 2023-12-07 00:51:21 +08:00
heimoshuiyu 412aefdacc fix: record resp time 2023-11-30 10:24:00 +08:00
heimoshuiyu 2c3532f12f add hostname 2023-11-30 10:18:01 +08:00
heimoshuiyu 7d93332e51 fix: record body json 2023-11-30 10:06:10 +08:00
heimoshuiyu 0dbd898532 update config yaml 2023-11-29 14:40:20 +08:00
heimoshuiyu 7b74818676 update config to file 2023-11-29 14:31:11 +08:00
heimoshuiyu 0a2a7376f1 update dep 2023-11-28 14:36:14 +08:00
heimoshuiyu 44a966e6f4 clean code 2023-11-28 14:04:42 +08:00
heimoshuiyu 87244d4dc2 update docs 2023-11-28 10:42:06 +08:00
heimoshuiyu 11bf18391e update docs 2023-11-28 10:22:12 +08:00
heimoshuiyu 0785d43ff1 support postgres 2023-11-28 10:19:07 +08:00
heimoshuiyu de3bea06a7 convert config to yaml file 2023-11-27 18:08:15 +08:00
heimoshuiyu 3cc507a767 add docker file 2023-11-27 17:53:28 +08:00
heimoshuiyu dad4ad2b97 update readme.md 2023-11-27 17:28:29 +08:00
heimoshuiyu fb19d8a353 upstreams.yaml 2023-11-27 17:19:08 +08:00
heimoshuiyu 4125c78f33 record response time 2023-11-17 14:53:49 +08:00
heimoshuiyu 31eed99025 support multiple auth header 2023-11-16 15:48:09 +08:00
heimoshuiyu 6c9eab09e2 record authorization 2023-11-16 15:42:37 +08:00
heimoshuiyu 6aab4fb44b 120 timeout if only one upstream v0.3.0 2023-11-08 20:42:36 +08:00
heimoshuiyu b932331bdc 20s timeout for large request 2023-11-08 20:18:55 +08:00
heimoshuiyu a2c6fa32ed default 60s timeout 2023-11-08 18:42:35 +08:00
heimoshuiyu 9d8e76bd2d do not parse unused body 2023-11-08 18:40:31 +08:00
heimoshuiyu ebc04228c5 update readme 2023-11-02 09:40:10 +08:00
heimoshuiyu 3c4c2b5660 fix error response code 2023-11-01 17:53:57 +08:00
heimoshuiyu a3fff93f2e hasResponse on error 2023-11-01 17:34:11 +08:00
heimoshuiyu c90a18d380 record model name 2023-11-01 17:02:30 +08:00
heimoshuiyu d9a42842b2 1m timeout for non stream request 2023-11-01 15:55:54 +08:00