Skip to content

Commit 25769ed

Browse files
committed
fix: more log statements
1 parent c7e7291 commit 25769ed

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

index.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def handler(event, context):
99
Lambda handler function
1010
"""
1111
# Log the input event for debugging purposes
12-
print("Received event:", " ".join(json.dumps(event, indent=2).splitlines()))
12+
# print("Received event:", " ".join(json.dumps(event, indent=2).splitlines()))
1313

1414
if "body" in event:
1515
try:
@@ -49,6 +49,6 @@ def handler(event, context):
4949
}
5050

5151
# Log the response for debugging purposes
52-
print("Returning response:", json.dumps(response, indent=2))
52+
print("Returning response:", " ".join(json.dumps(response, indent=2).splitlines()))
5353

5454
return response

src/agents/informational_agent/informational_agent.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ def call_model(self, state: State, config: RunnableConfig) -> str:
8181
valid_messages = self.check_for_valid_messages(messages)
8282
print("Informational agent valid messages, ready for LLM call...")
8383
response = self.llm.invoke(valid_messages)
84+
print("Informational agent response successfully received.")
8485

8586
# Save summary for fetching outside the class
8687
self.summary = summary

0 commit comments

Comments
 (0)