nvalidRequestErroropenaierrorInvalidRequestError This is a chat model and not supported in the v1completions endpoint Did you mean to use v1chatcompletions 怎么解决
这个错误是由于您在使用OpenAI API时,使用了v1/completions端点,而该端点不支持聊天模型。解决方法是改用v1/chat/completions端点,这个端点可以支持聊天模型。您需要更新您的代码,将端点更改为v1/chat/completions。
原文地址: https://www.cveoy.top/t/topic/bGUD 著作权归作者所有。请勿转载和采集!