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

[Feature Request]: add model gemini-1.5-pro-exp-0801 and adding a confirmation prompt before "Clear Chat Content" #46

Closed
darthalex2014 opened this issue Aug 1, 2024 · 5 comments
Labels
feature New feature or request

Comments

@darthalex2014
Copy link

Problem Description

I'm currently unable to use the gemini-1.5-pro-exp-0801 model with this repository.

Additionally, the "Clear Chat Content" button at the bottom of the chat interface is easily accidentally pressed, especially on mobile devices. This can lead to unintentional loss of the entire chat history, which is frustrating and disruptive.

Solution Description

I would like the repository author to add support for the gemini-1.5-pro-exp-0801 model.

Furthermore, I propose adding a confirmation prompt before clearing the chat content. This could be a simple pop-up dialog asking the user to confirm their action. This would prevent accidental clearing of the chat history and improve the overall user experience, particularly on mobile devices.

Alternatives Considered

No response

Additional Context

No response

@darthalex2014 darthalex2014 added the feature New feature or request label Aug 1, 2024
@Amery2010
Copy link
Collaborator

If you want to use a new model, you can expand it by customizing the model list without updating the version.

NEXT_PUBLIC_GEMINI_MODEL_LIST=+all,+gemini-1.5-pro-exp-0801

The button to clear the chat content will be adjusted in subsequent versions

@darthalex2014
Copy link
Author

If you want to use a new model, you can expand it by customizing the model list without updating the version.

NEXT_PUBLIC_GEMINI_MODEL_LIST=+all,+gemini-1.5-pro-exp-0801

The button to clear the chat content will be adjusted in subsequent versions

im simple add gemini-1.5-pro-exp-0801 to model list.

@Amery2010
Copy link
Collaborator

If you are deploying the version on vercel, you need to redeploy after modifying the environment variables to make them effective. If you are deploying using docker, you need to restart the docker image to make it effective.

@darthalex2014
Copy link
Author

vercel automated enter changes in github.

@Amery2010
Copy link
Collaborator

The latest version supports getting the latest model list

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

No branches or pull requests

2 participants