Comments (4)
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.
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.
Thanks for the extra information. I will test this soon with a new account.
from unsaged.
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)
- Unsupported URL Type "workspace:": workspace:* HOT 13
- [BUG] Models not loading HOT 1
- [Feature] - Allow document upload HOT 2
- [Docs] Bad link for generation script on Getting Started page HOT 2
- [Feature] Add Ollama URL input in the settings tab
- [Feature] Add AWS Bedrock
- [Feature] Update Image generation
- [Feature] Add all previous supported languages
- Blank Page Issue with Latest Build in Docker Environment HOT 4
- [BUG] npm dependency issue HOT 2
- [Feature] Add GPT Vision Models HOT 1
- [Feature] Gemini Pro Support HOT 4
- [BUG] TypeError: Cannot read properties of undefined (reading 'inTable')
- [BUG] Docker image does not start: `next: command not found` HOT 1
- [FEATURE] Support for LaTeX
- No Logs in Cloudflare AI Gateway [BUG]
- [Help Needed] Fix support for other languages HOT 1
- [Help Needed] - Is a on-prem supabase install supported ? HOT 5
- [Help Needed] Transition from NextAuth to Supabase Auth for User Authentication HOT 1
- [Question] - 401 on access to conversation table in Supabase HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unsaged.