Squashed commit of the following:

commit 379586cd1b
Author: Sakurasan <1173092237@qq.com>
Date:   Fri Apr 28 14:46:46 2023 +0800

    up

commit 5200171dc0
Author: Sakurasan <1173092237@qq.com>
Date:   Fri Apr 28 03:05:23 2023 +0800

    优化代码

commit d2f07a824e
Author: Sakurasan <1173092237@qq.com>
Date:   Thu Apr 27 22:23:22 2023 +0800

    更新错误提示

commit 8a2ebb6778
Author: Sakurasan <1173092237@qq.com>
Date:   Thu Apr 27 17:27:43 2023 +0800

    up

commit a202dfadca
Author: Sakurasan <1173092237@qq.com>
Date:   Thu Apr 27 02:31:35 2023 +0800

    优化代码

commit a100d75c00
Author: Sakurasan <1173092237@qq.com>
Date:   Wed Apr 26 03:56:29 2023 +0800

    fix bug

commit a34e579aa8
Author: Sakurasan <1173092237@qq.com>
Date:   Wed Apr 26 03:18:49 2023 +0800

    fix db type

commit 3dae04afcd
Author: Sakurasan <1173092237@qq.com>
Date:   Wed Apr 26 03:03:43 2023 +0800

    fix null data

commit 56b56c703d
Author: Sakurasan <1173092237@qq.com>
Date:   Tue Apr 25 22:27:19 2023 +0800

    up

commit 97a13a5f79
Author: Sakurasan <1173092237@qq.com>
Date:   Tue Apr 25 21:30:18 2023 +0800

    usage

commit 5ce5466723
Author: Sakurasan <1173092237@qq.com>
Date:   Mon Apr 24 22:44:03 2023 +0800

    usage

commit 365bc37487
Author: Sakurasan <1173092237@qq.com>
Date:   Sat Apr 22 22:40:47 2023 +0800

    up

commit 1cd06ea1df
Author: Sakurasan <1173092237@qq.com>
Date:   Wed Apr 19 22:50:39 2023 +0800

    up

commit 499edbb0fd
Author: Sakurasan <1173092237@qq.com>
Date:   Wed Apr 19 02:06:09 2023 +0800

    add Completion

commit 11dbf4376e
Author: Sakurasan <1173092237@qq.com>
Date:   Tue Apr 18 22:46:11 2023 +0800

    up

commit eb22de912a
Author: Sakurasan <1173092237@qq.com>
Date:   Mon Apr 17 22:48:37 2023 +0800

    add usage
This commit is contained in:
Sakurasan
2023-04-28 14:49:04 +08:00
parent 8d2ad4e993
commit ea9d9d532a

View File

@@ -59,8 +59,7 @@ func main() {
// 初始化用户
r.POST("/1/users/init", router.Handleinit)
// r.Any("/v1/*proxypath", router.HandleProy)
r.Match([]string{http.MethodGet, http.MethodPost}, "/v1/*proxypath", router.HandleProy)
r.Any("/v1/*proxypath", router.HandleProy)
// r.POST("/v1/chat/completions", router.HandleProy)
// r.GET("/v1/models", router.HandleProy)