GenkitG
Genkitโ€ข3mo ago
military-pink

I recently changed the explict passing

I recently changed the explict passing of uid etc to use action context like below. How do i test it in the dev ui by setting desired msg and and uid now?

export const fireFlow = agenticAi.defineFlow( { name: 'fireFlow', }, async ({ context }) => { console.log("#fireFlow message received in fireFlow is:", context.msg) const uid = context.auth.uid console.log("user uid is:", uid) const msg = context.data.msg logger.log("user message is:", msg)

I mean i am not sure how do i pass the data in the dev ui in the "Context JSON" area now to test
Was this page helpful?