[PR #20] [MERGED] search_and_chat: Store and re-render intermediate steps #35

Closed
opened 2026-02-15 19:15:29 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/streamlit-agent/pull/20
Author: @sfc-gh-jcarroll
Created: 8/4/2023
Status: Merged
Merged: 8/4/2023
Merged by: @sfc-gh-jcarroll

Base: mainHead: remember-search


📝 Commits (1)

  • ca78106 search_and_chat: Store and re-render intermediate steps

📊 Changes

1 file changed (+20 additions, -13 deletions)

View changed files

📝 streamlit_agent/search_and_chat.py (+20 -13)

📄 Description

  • Use return_intermediate_steps=True to retrieve and store tool usage for each agent call
  • Re-render the tool usage ^ in subsequent re-runs for the relevant response
  • Also switch to ConversationalChatAgent since it seems to perform better than StructuredChatAgent

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/streamlit-agent/pull/20 **Author:** [@sfc-gh-jcarroll](https://github.com/sfc-gh-jcarroll) **Created:** 8/4/2023 **Status:** ✅ Merged **Merged:** 8/4/2023 **Merged by:** [@sfc-gh-jcarroll](https://github.com/sfc-gh-jcarroll) **Base:** `main` ← **Head:** `remember-search` --- ### 📝 Commits (1) - [`ca78106`](https://github.com/langchain-ai/streamlit-agent/commit/ca78106084e2191d2d35bc898403e8788550cd80) search_and_chat: Store and re-render intermediate steps ### 📊 Changes **1 file changed** (+20 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `streamlit_agent/search_and_chat.py` (+20 -13) </details> ### 📄 Description - Use `return_intermediate_steps=True` to retrieve and store tool usage for each agent call - Re-render the tool usage ^ in subsequent re-runs for the relevant response - Also switch to `ConversationalChatAgent` since it seems to perform better than `StructuredChatAgent` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 19:15:29 -05:00
yindo closed this issue 2026-02-15 19:15:29 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/streamlit-agent#35