Skip to content

Conversation

karl-tye
Copy link

@karl-tye karl-tye commented Aug 26, 2025

After attempting to retrieve the agent for a particular message in my plugin, this seemed like the only available option. I believe this fits under Missing standard behavior for plugins 🤞

Looking at the design, I'm sure there's a better place to expose this information. Feedback would be greatly appreciated

@thdxr
Copy link
Contributor

thdxr commented Aug 30, 2025

i think it's under message.mode - it's still under the old name

@karl-tye
Copy link
Author

i think it's under message.mode - it's still under the old name

I can see that this is the case for assistantMsg (type AssistantMessage) later on in the chat function. However, this is not propagated via Plugin.trigger. We could extend the "chat.message" hook to be triggered on both user and assistant messages which could be interesting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants