JavaScript Client v7.8.2: Enhancements to agent action handling and stega URL filtering

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.