GithubHelp home page GithubHelp logo

Comments (8)

oneOfThePeakyBlinders avatar oneOfThePeakyBlinders commented on June 26, 2024

And also in the console it refers to promt-form.tsx:65: const responseMessage = await submitUserMessage(value)
setMessages(currentMessages => [...currentMessages, responseMessage])

from ai-chatbot.

skath1 avatar skath1 commented on June 26, 2024

were you able to solve this issue?

from ai-chatbot.

oneOfThePeakyBlinders avatar oneOfThePeakyBlinders commented on June 26, 2024

were you able to solve this iss
Unfortunately no(
Are you facing the same issue?

from ai-chatbot.

0xbohu avatar 0xbohu commented on June 26, 2024

same issue

from ai-chatbot.

0xbohu avatar 0xbohu commented on June 26, 2024

@oneOfThePeakyBlinders I have fixed it, the reason is that you need to add credits to your OpenAI for API usage. https://platform.openai.com/settings/organization/billing/overview

API credits is not included in GPT 4plus subscription. Once you add credits to your API, create a new api key and it should work.

I have also raised an issue in ai repo, it is still a bug to parse openAI error response and team is looking at it.
vercel/ai#1694 (comment)

from ai-chatbot.

lgrammel avatar lgrammel commented on June 26, 2024

The OpenAI SDK Provider here needs to be updated. This is not an AI SDK problem.

from ai-chatbot.

oneOfThePeakyBlinders avatar oneOfThePeakyBlinders commented on June 26, 2024

How to update it properly?

from ai-chatbot.

lgrammel avatar lgrammel commented on June 26, 2024

Update it to the latest version (@ai-sdk/openai)

from ai-chatbot.

Related Issues (20)

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.