xqdoo00o / ChatGPT-to-API

Scalable unofficial ChatGPT API for production.
648 stars 129 forks source link

多了个\n #40

Closed justincnn closed 4 months ago

justincnn commented 4 months ago
          多了个\n

Originally posted by @xqdoo00o in https://github.com/xqdoo00o/ChatGPT-to-API/issues/39#issuecomment-2042563553

谢谢回复,现在是500错误,还请看下,谢谢

[GIN-debug] GET    /ping                     --> main.main.func1 (4 handlers)
[GIN-debug] PATCH  /admin/password           --> main.passwordHandler (5 handlers)
[GIN-debug] PATCH  /admin/tokens             --> main.tokensHandler (5 handlers)
[GIN-debug] PATCH  /admin/puid               --> main.puidHandler (5 handlers)
[GIN-debug] PATCH  /admin/openai             --> main.openaiHandler (5 handlers)
[GIN-debug] OPTIONS /v1/chat/completions      --> main.optionsHandler (4 handlers)
[GIN-debug] POST   /v1/chat/completions      --> main.nightmare (5 handlers)
[GIN-debug] GET    /v1/engines               --> main.engines_handler (5 handlers)
[GIN-debug] GET    /v1/models                --> main.engines_handler (5 handlers)
2024/04/08 12:19:11 1 0.0.0.0:8080
[GIN] 2024/04/08 - 12:19:45 | 500 |   73.535584ms | 123.152.165.219 | POST     "/v1/chat/completions"
[GIN] 2024/04/08 - 12:20:05 | 500 |   43.097267ms | 123.152.165.219 | POST     "/v1/chat/completions"