Notify send in wrong time

Resolved 💬 4 comments Opened Apr 5, 2026 by FlowerRealm Closed Apr 6, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex CLI is running?

0.118.0

What subscription do you have?

Plus

Which model were you using?

_No response_

What platform is your computer?

Ubuntu 25.10 x64

What terminal emulator and version are you using (if applicable)?

_No response_

What issue are you seeing?

I want to send notify in "Ask me question" in plan mode
And I don't want to send notify when subagent finish their work

What steps can reproduce the bug?

It's detail in "What issue are you seeing"

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 4 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #14667
  • #16565

Powered by Codex Action

etraut-openai contributor · 4 months ago

Sorry, but I don't understand your bug report. Could you clarify what you mean by "send notify"? Are you talking about a user prompt that you are sending to the agent?

Perhaps it would help if you provided step-by-step repro instructions.

FlowerRealm · 4 months ago

When the agent finish their work, it will send the notify, isn't it?
and it is which you can config in the config.toml

etraut-openai contributor · 4 months ago

Ah, I understand now. You're using the tui.notifications mechanism, and you want to configure it to send a notification when plan mode is waiting for an answer.

To receive notifications for all events:

[tui]
notifications = true

To receive notifications only when the turn is complete:

[tui]
notififications = ["agent-turn-complete"]

To receive notifications only for plan-mode prompts and approval requests:

[tui]
notififications = ["plan-mode-prompt", "approval-requested"]

For more details, refer to this documentation.

There is currently no way to differentiate between main agent and subagent. If you would like to see that, please open a feature request, and we'll see if other codex users upvote it.