Skip to content

Commit ed6c4fd

Browse files
committed
Address hidden copilot comment too
1 parent 8f164b7 commit ed6c4fd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/spanish/workflow_hitl_tool_approval.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ async def main() -> None:
216216
print(f"🔒 Aprobación solicitada para: {data.function_call.name}")
217217
print(f" Argumentos:\n{arguments}")
218218

219-
approval = input(" ¿Aprobar/Approve? (y/n): ").strip().lower()
220-
approved = approval == "y"
219+
approval = input(" ¿Aprobar/Approve? (s/y): ").strip().lower()
220+
approved = approval in ("s", "y")
221221
print(f" {'✅ Aprobado' if approved else '❌ Rechazado'}\n")
222222
responses[request_info_event.request_id] = data.to_function_approval_response(approved=approved)
223223

0 commit comments

Comments
 (0)