Skip to content

Commit

Permalink
enable clipboard inspector
Browse files Browse the repository at this point in the history
  • Loading branch information
tahouse committed Feb 19, 2025
1 parent 20a6aeb commit ec46bdf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "rocktalk"
version = "0.3.8"
version = "0.3.9"
description = "A locally running ChatBot WebApp with Streamlit, LangChain, and Amazon Bedrock"
readme = "README.md"
authors = [
Expand Down Expand Up @@ -41,10 +41,10 @@ dependencies = [
"python-dotenv>=1.0.1",
"pydantic>=2.9.2",
"pandas>=2.2.3",
"streamlit>=1.41.0",
"streamlit==1.42.0",
"streamlit-keywords>=0.1.12",
"streamlit-authenticator>=0.4.1",
"streamlit-chat-prompt>=0.3.8",
"streamlit-chat-prompt>=0.3.10",
"streamlit-js-eval>=0.1.7",
"streamlit-shortcuts>=0.1.9",
"streamlit_float>=0.3.5",
Expand Down
1 change: 1 addition & 0 deletions rocktalk/components/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ def _handle_chat_input(self) -> None:
max_image_size=5 * 1024 * 1024,
default=st.session_state.user_input_default
or st.session_state.stored_user_input,
enable_clipboard_inspector=True,
)
if chat_prompt_return:
logger.info(f"Received user text input:\n{chat_prompt_return.text}")
Expand Down
1 change: 1 addition & 0 deletions rocktalk/models/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def edit_message(self):
placeholder=previous_prompt.text or "",
main_bottom=False,
default=previous_prompt,
enable_clipboard_inspector=True,
)
focus_prompt(container_key=edit_prompt_key)

Expand Down

0 comments on commit ec46bdf

Please sign in to comment.