Fix notify documentation to use emitted input-messages key (#5071)

## Summary
- align the notify configuration example with the CLI payload by reading
the `input-messages` key

Fixes #4954


------
https://chatgpt.com/codex/tasks/task_i_68e95e2be6ec832c8d09d6c65aac7c93
This commit is contained in:
Jeremy Rose
2025-10-15 23:22:39 -07:00
committed by GitHub
parent 86ba270926
commit 0139f6780c

View File

@@ -640,7 +640,7 @@ def main() -> int:
title = f"Codex: {assistant_message}" title = f"Codex: {assistant_message}"
else: else:
title = "Codex: Turn Complete!" title = "Codex: Turn Complete!"
input_messages = notification.get("input_messages", []) input_messages = notification.get("input-messages", [])
message = " ".join(input_messages) message = " ".join(input_messages)
title += message title += message
case _: case _: