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

Added a visual seperator #1

Merged
merged 20 commits into from
Dec 12, 2024

Conversation

lasyaEd
Copy link
Collaborator

@lasyaEd lasyaEd commented Dec 11, 2024

No description provided.

The code has been updated to ensure that:

The prompt input is disabled until the user provides an API key.
A clear field is available to re-enter the API key after the session is reset.
The code has been updated to ensure that:

The API key is cleared from both st.session_state and the input field when the chat is reset.
Users will not see any previously entered API key after resetting the session.
fixing experimental rerun error
The API key input field is now fully cleared, ensuring no previously entered API key appears after resetting
The API key field is cleared and blank after resetting.
Users cannot input prompts unless a valid API key is provided after resetting.
The st.rerun() ensures the app properly refreshes after reset.
The code has been updated to ensure the API key field is always blank after a reset, the key is not prefilled, and users cannot input prompts until a valid key is provided.
The API key input field is cleared upon reset and remains blank for a new user to enter their key.
Prompt input is disabled until a valid API key is entered.
fixing experimental rerun error
Copy link
Collaborator

@samanthajmichael samanthajmichael left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@samanthajmichael samanthajmichael merged commit 41f2af1 into dsba6010-llm-applications:main Dec 12, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants