add readme

This commit is contained in:
Kai Wu 2025-08-03 14:35:45 -07:00
parent dcc47c2008
commit 62c758932d
3 changed files with 209 additions and 5 deletions

View file

@ -269,6 +269,8 @@ def tool_chat_page():
if action and isinstance(action, dict):
tool_name = action.get("tool_name")
tool_params = action.get("tool_params")
if tool_name.endswith("_search"):
tool_name = "web_search"
with st.expander(f'🛠 Action: Using tool "{tool_name}"', expanded=False):
st.json(tool_params)