ositamiles commited on
Commit
eec2cf1
·
verified ·
1 Parent(s): a6006a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -18,7 +18,6 @@ def query(payload):
18
  if "usedTools" in reasoning:
19
  for tool in reasoning["usedTools"]:
20
  tool_details.append({
21
- "tool": tool.get("tool", ""),
22
  "toolInput": tool.get("toolInput", {}).get("input", ""),
23
  "toolOutput": tool.get("toolOutput", "")
24
  })
@@ -71,8 +70,6 @@ def main():
71
  else:
72
  st.write(tool_output)
73
 
74
- # Optional: Add tool type information
75
- st.caption(f"Source: {tool.get('tool', 'Unknown')}")
76
  else:
77
  st.write("No resources found.")
78
 
 
18
  if "usedTools" in reasoning:
19
  for tool in reasoning["usedTools"]:
20
  tool_details.append({
 
21
  "toolInput": tool.get("toolInput", {}).get("input", ""),
22
  "toolOutput": tool.get("toolOutput", "")
23
  })
 
70
  else:
71
  st.write(tool_output)
72
 
 
 
73
  else:
74
  st.write("No resources found.")
75