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

πŸ§‘β€πŸ’»: Clear Button Functionality in Generative-AI/Code-LLM-bot (Streamlit Interface) #728

Closed
1 of 2 tasks
shreyasparaj opened this issue Oct 19, 2024 · 3 comments Β· Fixed by #733
Closed
1 of 2 tasks
Assignees
Labels
Contributor Denotes issues or PRs submitted by contributors to acknowledge their participation. gssoc-ext hacktoberfest level2 Status: Assigned Indicates an issue has been assigned to a contributor.

Comments

@shreyasparaj
Copy link
Contributor

Title

Clear Button Functionality in Generative-AI/Code-LLM-bot (Streamlit Interface)

Enhancement Aim

The aim of this enhancement is to improve the Clear button functionality within the Generative-AI/Code-LLM-bot project by utilizing st.session_state. This will allow the query input field to reset dynamically without reloading the entire page, enhancing the user experience.

Changes

Clear Button Improvement:

  • Added the st.session_state["query_input"] to manage the state of the input field.
  • Ensures that clearing input does not reload the page.
  • More seamless user interaction with better session management.

Removed redundant warnings related to empty query inputs.

Enhanced error handling for API key validation

Screenshots πŸ“·

N/A

Guidelines

  • I have read the guidelines
  • I have the link to my latest merged PR

Full Name

Shreyas Shrenik Paraj Patil

Participant Role

GSSOC Contributor

Copy link

πŸ™Œ Thank you for bringing this issue to our attention! We appreciate your input and will investigate it as soon as possible.

Feel free to join our community on Discord to discuss more!

@UTSAVS26 UTSAVS26 added Contributor Denotes issues or PRs submitted by contributors to acknowledge their participation. Status: Assigned Indicates an issue has been assigned to a contributor. level2 gssoc-ext hacktoberfest labels Oct 20, 2024
Copy link

βœ… This issue has been closed. Thank you for your contribution! If you have any further questions or issues, feel free to join our community on Discord to discuss more!

1 similar comment
Copy link

βœ… This issue has been closed. Thank you for your contribution! If you have any further questions or issues, feel free to join our community on Discord to discuss more!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Contributor Denotes issues or PRs submitted by contributors to acknowledge their participation. gssoc-ext hacktoberfest level2 Status: Assigned Indicates an issue has been assigned to a contributor.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants