We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba15152 commit 71961bbCopy full SHA for 71961bb
js/testapps/flow-sample1/src/index.ts
@@ -216,7 +216,7 @@ export const throwy = ai.defineFlow(
216
*/
217
export const throwy2 = ai.defineFlow(
218
{ name: 'throwy2', inputSchema: z.string(), outputSchema: z.string() },
219
- async (subject: string) => {
+ async (subject) => {
220
const foo = await ai.run('call-llm', async () => {
221
if (subject) {
222
throw new Error(subject);
0 commit comments