Giter Club home page Giter Club logo

Comments (4)

jorge-menjivar avatar jorge-menjivar commented on May 23, 2024

Hi @altrome, thank you for raising this issue.

I'm trying to reproduce this on Vercel with only those variables set but not being able to.

Can you provide some more information:

  • Are you able to run on local computer?
  • What steps did you take to deploy on vercel?
  • Does this happen at startup or after login page?
  • Is this error itself being thrown by NextJs or the browser-console? If so, are you able to see any more error logs?

from unsaged.

altrome avatar altrome commented on May 23, 2024

Hi @jorge-menjivar, thanks for your amazing work!

I've only tested at Vercel, not on local. This error happens after login, when loads the chat and shown at browser-console.

As far as I have been able to investigate, the errors seems to be initially located at SystemPromptSelect.tsx file. In particular, the methods getAvailableSystemPrompts & getDefaultSystemPrompt, when trying to select the model of the selectedConversation. If you start from scratch, without any conversations, the model is undefined so you can not select the vendor later on the code. I've figured out a workaround, is still trowing other errors, but at least I can test your version.

In short, I believe that the errors thrown by the platform have to do with the fact that there are no conversations available and therefore you cannot select the model, and hence the errors are triggered.

from unsaged.

jorge-menjivar avatar jorge-menjivar commented on May 23, 2024

Thanks for the extra information. I will test this soon with a new account.

from unsaged.

jorge-menjivar avatar jorge-menjivar commented on May 23, 2024

I was able to reproduce the described issue with a fresh account on a vercel instance. However, on local it was giving a different error. I fixed the error described in the local instance which also seems to have fixed the vercel issue. Let me know if you continue to have this issue and I will investigate further.

from unsaged.

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.