mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-23 16:37:28 +00:00
add readme
This commit is contained in:
parent
dcc47c2008
commit
62c758932d
3 changed files with 209 additions and 5 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue