Enhancements to agent action handling and stega URL filtering

Published: August 4, 2025

v7.8.2

Highlights

Agent Actions

Agent Actions that take support groq instruction parameters now accept a perspective. For example:

await client.agent.action.generate({
  // ...
  instruction: "Develop a new movie. Use these details to generate the concept: $background ",
  instructionParams: {
    background: {
      type: "groq",
      perspective: 'draft',
      query: "*[_id=$id]",
      params: {
        id: "123456"
      }
    }
  }
})

Bugfixes

  • Agent Action prompt now correctly uses format: 'string' typing instead of 'text'.
  • Updates to the supported URL patterns for stega should now prevent issues with disappearing overlays in presentation.
sanity.ioAll Systems Operational© Sanity 2026
Change site theme