Insights works with @sanity/client 8.15
Published: November 6, 2026
@sanity/client 8.15.0 removed the client.context.conversations methods that @sanity/context 3.0.0 called. With that client, conversations weren't saved and classification failed, but your agent kept working and logged [sanity-insights] Failed to save conversation on each turn. This release uses client.context.request instead.
@sanity/context now needs @sanity/client 8.15 or later. Upgrade both with npm install @sanity/client@latest @sanity/context@latest. See Add insights to Sanity Context.