Commit Graph
100 Commits
Author SHA1 Message Date
heimoshuiyu 45bba95f5d Merge remote-tracking branch 'comp/master' 2024-04-09 19:07:45 +08:00
heimoshuiyu 75ff8fbc2e Refactor CORS handling and remove response's CORS headers 2024-04-09 19:07:28 +08:00
heimoshuiyu 66758e0008 更新.gitlab-ci.yml文件 2024-04-08 10:29:08 +00:00
heimoshuiyu 40fc2067a5 Merge remote-tracking branch 'comp/master' 2024-04-08 18:22:10 +08:00
heimoshuiyu 1a56101ca8 add dockerignore 2024-04-08 18:21:55 +08:00
heimoshuiyu e373e3ac63 更新.gitlab-ci.yml文件 2024-04-08 07:48:05 +00:00
heimoshuiyu 24a2e609f8 更新.gitlab-ci.yml文件 2024-04-08 05:11:47 +00:00
heimoshuiyu e442303847 更新.gitlab-ci.yml文件 2024-04-08 03:52:19 +00:00
heimoshuiyu 8b95fbb5da 更新.gitlab-ci.yml文件 2024-04-08 03:40:32 +00:00
heimoshuiyu 34aa4babc4 更新.gitlab-ci.yml文件 2024-04-08 03:21:24 +00:00
heimoshuiyu e6ff1f5ca4 更新.gitlab-ci.yml文件 2024-04-08 03:10:24 +00:00
heimoshuiyu 6b6f245e45 Update README.md with complex configuration example 2024-04-08 11:04:29 +08:00
heimoshuiyu 995eea9d67 Update README.md 2024-02-18 17:28:16 +08:00
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 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
heimoshuiyu 5a78c61e5f timeout for out going request 2023-11-01 15:25:59 +08:00
heimoshuiyu eced585361 Merge remote-tracking branch 'shanghai/master' 2023-10-31 18:40:33 +08:00
heimoshuiyu 98a15052a2 fix: should response 2023-10-31 18:35:29 +08:00
heimoshuiyu 7572ecf19b fix: retry with 502 2023-10-31 18:34:58 +08:00
heimoshuiyu 9f2bb46233 update print 2023-10-31 18:34:41 +08:00
heimoshuiyu d8948d065a add vscode debug 2023-10-31 18:10:09 +08:00
heimoshuiyu 2c75c392a8 loop through upstreams 2023-10-31 18:10:01 +08:00
heimoshuiyu acc153ddca 拆分 process 2023-10-31 10:13:20 +08:00
heimoshuiyu 471627712b /v1/metrics 2023-10-24 00:55:47 +08:00
heimoshuiyu 584103eba3 Merge remote-tracking branch 'shanghai/master' 2023-10-24 00:54:01 +08:00
heimoshuiyu fd61e49759 add metrics 2023-10-24 00:52:20 +08:00
heimoshuiyu 449d636749 ignore context cancle 2023-10-18 17:57:46 +08:00
heimoshuiyu 34a6bb8515 add feishu and matrix error report 2023-10-18 14:01:24 +08:00
heimoshuiyu 1a1226568f record error 2023-10-08 15:39:12 +08:00
heimoshuiyu 1e770db740 send notification 2023-09-28 15:58:11 +08:00
heimoshuiyu de1f9c1e94 remove upstream count 2023-09-28 15:57:30 +08:00
heimoshuiyu f5dc8147e6 update: readme introduction 2023-09-28 15:52:49 +08:00
heimoshuiyu c6cf75d2f6 fix: asis 2023-09-28 15:45:29 +08:00
heimoshuiyu 8342e47e4b asis & readme 2023-09-28 15:42:22 +08:00
heimoshuiyu 043fb3db85 upstream asis 2023-09-16 10:52:33 +08:00
heimoshuiyu 1fcdc59b63 fix: cors in resp 2023-09-15 19:55:05 +08:00
heimoshuiyu 638feaf381 panic recover 2023-09-15 18:22:21 +08:00
heimoshuiyu 7c53581ff2 integer id 2023-09-15 18:00:17 +08:00
heimoshuiyu 687fffead3 fix cors 2023-09-15 12:48:18 +08:00
heimoshuiyu 34beab9429 delete api 2023-09-15 11:57:30 +08:00
heimoshuiyu f2b144c409 部署文档 2023-08-10 13:32:51 +08:00
heimoshuiyu 2f2c4464ea record time 2023-08-10 12:42:12 +08:00
heimoshuiyu 536540335d fix cors bug on data response 2023-07-28 16:18:54 +08:00
heimoshuiyu 63f6bd4287 print not gpt-model name 2023-07-21 11:23:42 +08:00
heimoshuiyu fe8bf39ee6 record ip 2023-07-19 23:59:29 +08:00
heimoshuiyu a9ca26c3ec fix cors 2023-07-19 23:56:31 +08:00
heimoshuiyu a5c832adaa woshi shabi 2023-07-18 19:03:59 +08:00
heimoshuiyu 07b86bb95b fix 2023-07-18 18:54:00 +08:00
heimoshuiyu e70180ea81 delete unused column 2023-07-18 18:51:26 +08:00
heimoshuiyu 0cd3de33ae default policy to main 2023-07-18 18:51:02 +08:00
heimoshuiyu fd390577d5 record response and uuid 2023-07-18 18:35:53 +08:00
heimoshuiyu c35f169e3b allow cors 2023-07-18 14:35:15 +08:00