Giter VIP home page Giter VIP logo

openai-on-wechat's Issues

x509

[openai-on-wechat] 2023/03/13 23:50:31 handler.go:45: [text] Request: Hi
[openai-on-wechat] 2023/03/13 23:50:32 session.go:79: openAIClient.CreateChatCompletion err=Post "https://api.openai.com/v1/chat/completions": x509: certificate has expired or is not yet valid: current time 2023-03-13T23:50:32+08:00 is after 2021-09-30T14:01:15Z
[openai-on-wechat] 2023/03/13 23:50:32 handler.go:54: [text] Response: 抱歉,出错了,请稍后重试~

not supported in the v1/chat/completions

This is not a chat model and thus not supported in the v1/chat/completions endpoint. Did you mean to use v1/completions?启动后,发消息就报错了,是方法名不对吗,还是我的 api-key不对呢?方法名在哪里更改呢,有没有小伙伴遇到这种问题

抱歉,出错了,请稍后重试~

[openai-on-wechat] 2023/03/28 14:05:06 session.go:79: openAIClient.CreateChatCompletion err=invalid character 'U' looking for beginning of value
请问这个怎么解决呢?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.