fraudTech commited on
Commit
80058fc
·
1 Parent(s): 4915ca8

improved lean call

Browse files
Files changed (1) hide show
  1. src/App.js +34 -0
src/App.js CHANGED
@@ -1050,6 +1050,40 @@ function Message({ message }) {
1050
  </div>
1051
  )}
1052
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1053
  {message.debug.predicate_docs && message.debug.predicate_docs.length > 0 && (
1054
  <div style={{ marginBottom: "15px" }}>
1055
  <strong style={{ color: "#1a1a1a" }}>Predicate Descriptions:</strong>
 
1050
  </div>
1051
  )}
1052
 
1053
+ {Array.isArray(message.debug.dropped_calls) && message.debug.dropped_calls.length > 0 && (
1054
+ <div style={{ marginBottom: "15px" }}>
1055
+ <strong style={{ color: "#1a1a1a" }}>Dropped Tool Calls:</strong>
1056
+ <pre style={{
1057
+ background: "#fff",
1058
+ padding: "8px",
1059
+ borderRadius: "4px",
1060
+ fontSize: "0.85em",
1061
+ overflowX: "auto",
1062
+ color: "#1a1a1a",
1063
+ border: "1px solid #e2e2e2"
1064
+ }}>
1065
+ {JSON.stringify(message.debug.dropped_calls, null, 2)}
1066
+ </pre>
1067
+ </div>
1068
+ )}
1069
+
1070
+ {Array.isArray(message.debug.tool_calls_proof_retry) && message.debug.tool_calls_proof_retry.length > 0 && (
1071
+ <div style={{ marginBottom: "15px" }}>
1072
+ <strong style={{ color: "#1a1a1a" }}>Proof Retry Tool Calls:</strong>
1073
+ <pre style={{
1074
+ background: "#fff",
1075
+ padding: "8px",
1076
+ borderRadius: "4px",
1077
+ fontSize: "0.85em",
1078
+ overflowX: "auto",
1079
+ color: "#1a1a1a",
1080
+ border: "1px solid #e2e2e2"
1081
+ }}>
1082
+ {JSON.stringify(message.debug.tool_calls_proof_retry, null, 2)}
1083
+ </pre>
1084
+ </div>
1085
+ )}
1086
+
1087
  {message.debug.predicate_docs && message.debug.predicate_docs.length > 0 && (
1088
  <div style={{ marginBottom: "15px" }}>
1089
  <strong style={{ color: "#1a1a1a" }}>Predicate Descriptions:</strong>