prasadnu commited on
Commit
2625508
·
1 Parent(s): a83aaad

ubi integration for agent

Browse files
Files changed (1) hide show
  1. RAG/bedrock_agent.py +1 -1
RAG/bedrock_agent.py CHANGED
@@ -52,7 +52,7 @@ def send_otel_span(span):
52
  else:
53
  print("Lambda did not accept the request")
54
 
55
- print(f"[OTEL SPAN] {span['name']} -> {res.status_code}")
56
  except Exception as e:
57
  print(f"[OTEL ERROR] {e}")
58
 
 
52
  else:
53
  print("Lambda did not accept the request")
54
 
55
+ print(f"[OTEL SPAN] {span['name']} -> {status}")
56
  except Exception as e:
57
  print(f"[OTEL ERROR] {e}")
58