Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion hooks/register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,8 @@ export const register: Register = (on, options) => {
})

// A server-side review tool never reaches tool.call: it shows only in the assistant's rows.
on('session.append', async ($, e, next) => {
// Only response rows carry them. A managed plugin may pass user plugins over on other doors.
on('session.append', { door: 'response' }, async ($, e, next) => {
if (!e.agentId && e.message.type === 'assistant') {
const a = await getArchitect($)
// Consults this row opened: their result may be in the same row, after the stale read above.
Expand Down