Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Features #417

Open
DavidDragan1 opened this issue Feb 1, 2025 · 2 comments
Open

Missing Features #417

DavidDragan1 opened this issue Feb 1, 2025 · 2 comments

Comments

@DavidDragan1
Copy link

Hi guys, thank for your project! I have tried both deploying to Vercel directly and downloading and running locally, but it seems the sidebar with chat history and login functions are missing either way.

It looks like what the demo looks like before the user logs in, but i cant seem to find the utility to login in the first place to access the user panel, also there doesn't seem to be any auth vars in the .env.

If this was intentionally left out of the GH version that is totally understandable, I am just curious whether its something I'm doing wrong.
I would greatly appreciate your response and suggestions for implementing the sidebar and auth functions.

Thank you once again for the project.

Best regards,
David Dragan.

@losercodes
Copy link

Missing Features - Chat History Sidebar Configuration

Hi @DavidDragan1,

To enable the chat history sidebar, you'll need to configure Redis storage in your .env.local file:

  1. Set NEXT_PUBLIC_ENABLE_SAVE_CHAT_HISTORY=true
  2. Choose either:
    • Local Redis: Set USE_LOCAL_REDIS=true and LOCAL_REDIS_URL=redis://localhost:6379
    • OR Upstash Redis: Set USE_LOCAL_REDIS=false with your UPSTASH_REDIS_REST_URL and UPSTASH_REDIS_REST_TOKEN

The sidebar will appear once Redis is configured and you have your OPENAI_API_KEY set. Let me know if you need help with the setup!

@DavidDragan1
Copy link
Author

DavidDragan1 commented Feb 2, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants