Skip to content

Commit 8e13a52

Browse files
committed
print statement removed
1 parent 14bab93 commit 8e13a52

File tree

1 file changed

+1
-5
lines changed
  • typescript-sdk/integrations/adk-middleware/examples/shared_state

1 file changed

+1
-5
lines changed

typescript-sdk/integrations/adk-middleware/examples/shared_state/agent.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -233,13 +233,10 @@ def simple_after_model_modifier(
233233
if llm_response.content.role=='model' and llm_response.content.parts[0].text:
234234
original_text = llm_response.content.parts[0].text
235235
callback_context._invocation_context.end_invocation = True
236-
print(f"-----hard stopping the agent execution'")
237236

238237
elif llm_response.error_message:
239-
print(f"[Callback] Inspected response: Contains error '{llm_response.error_message}'. No modification.")
240238
return None
241239
else:
242-
print("[Callback] Inspected response: Empty LlmResponse.")
243240
return None # Nothing to modify
244241
return None
245242

@@ -270,5 +267,4 @@ def simple_after_model_modifier(
270267
before_agent_callback=on_before_agent,
271268
before_model_callback=before_model_modifier,
272269
after_model_callback = simple_after_model_modifier
273-
)
274-
270+
)

0 commit comments

Comments
 (0)