Skip to content

Commit 71961bb

Browse files
huangjeff5pavelgj
andauthored
Update js/testapps/flow-sample1/src/index.ts
Co-authored-by: Pavel Jbanov <[email protected]>
1 parent ba15152 commit 71961bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/testapps/flow-sample1/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export const throwy = ai.defineFlow(
216216
*/
217217
export const throwy2 = ai.defineFlow(
218218
{ name: 'throwy2', inputSchema: z.string(), outputSchema: z.string() },
219-
async (subject: string) => {
219+
async (subject) => {
220220
const foo = await ai.run('call-llm', async () => {
221221
if (subject) {
222222
throw new Error(subject);

0 commit comments

Comments
 (0)