xqdoo00o / ChatGPT-to-API

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

新代码404错误 #53

Closed RICHQAQ closed 3 months ago

RICHQAQ commented 3 months ago

[GIN] 2024/05/14 - 21:42:24 | 404 | 937.436989ms | 154.12.xxx | POST "/v1/chat/completions" [GIN] 2024/05/14 - 21:42:25 | 404 | 516.464169ms | 154.12.xxx | POST "/v1/chat/completions" [GIN] 2024/05/14 - 21:42:26 | 404 | 671.040845ms | 154.12.xxx | POST "/v1/chat/completions" [GIN] 2024/05/14 - 21:42:54 | 404 | 1.620388804s | 154.12.xxx | POST "/v1/chat/completions" [GIN] 2024/05/14 - 21:42:55 | 404 | 579.647476ms | 154.12.xxx | POST "/v1/chat/completions" [GIN] 2024/05/14 - 21:43:00 | 404 | 392.099484ms | 154.12.xxx | POST "/v1/chat/completions" image

谢谢了

RICHQAQ commented 3 months ago

gpt-3.5-turbo和gpts是可以正常请求的,gpt-4和gpt-4o出的问题

xqdoo00o commented 3 months ago

gpt4传的模型名是什么

maxduke commented 3 months ago

gpt-4和gpt-4o都不行,可能新的正则匹配有问题,传gpt-4开头的可以,比如gpt-4-turbo。完全匹配会报404

gkingt commented 3 months ago

普号也支持gpt-4o,看代码好像没有支持普号

xqdoo00o commented 3 months ago

已修复,打游戏太入迷 忘记测了😒