diff --git a/04-UX-demos/01-streamlit-template/docker_app/app_streaming.py b/04-UX-demos/01-streamlit-template/docker_app/app_streaming.py index b6cd1fc3..75265000 100644 --- a/04-UX-demos/01-streamlit-template/docker_app/app_streaming.py +++ b/04-UX-demos/01-streamlit-template/docker_app/app_streaming.py @@ -85,10 +85,6 @@ def logout(): # Add user message to chat history st.session_state.messages.append({"role": "user", "content": prompt}) - # Clear previous tool usage details - if "details_placeholder" in st.session_state: - st.session_state.details_placeholder.empty() - # Display user message with st.chat_message("user"): st.write(prompt) diff --git a/README.md b/README.md index 41381b12..5383bad5 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,16 @@ venv\Scripts\activate pip install strands-agents strands-agents-tools ``` +**Alternative: Using [uv](https://docs.astral.sh/uv/) (faster)** +```bash +# Install uv if you don't have it +curl -LsSf https://astral.sh/uv/install.sh | sh + +# Create venv and install in one step +uv venv && source .venv/bin/activate +uv pip install strands-agents strands-agents-tools +``` + **Your First Agent:** ```python from strands import Agent