[PR #2619] fix(session): restore chat.message plugin hook #10380

Closed
opened 2026-02-16 18:15:01 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/2619

State: closed
Merged: Yes


Looks like 9bb25a9 reverted the previous hook functionality of the chat.message event being triggered.

If this was intentional for some reason, no big deal. I can handle separately in my fork if so. But I do use this to paper over lots of issues with tool calling and env awareness for a few different models in my RL environments. Only caught this because tool call failure rates spiked in the related evals.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/2619 **State:** closed **Merged:** Yes --- Looks like 9bb25a9 reverted the previous hook functionality of the `chat.message` event being triggered. If this was intentional for some reason, no big deal. I can handle separately in my fork if so. But I do use this to paper over lots of issues with tool calling and env awareness for a few different models in my RL environments. Only caught this because tool call failure rates spiked in the related evals.
yindo added the pull-request label 2026-02-16 18:15:01 -05:00
yindo closed this issue 2026-02-16 18:15:01 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10380