We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cfb2ce commit 8866037Copy full SHA for 8866037
README.md
@@ -349,7 +349,7 @@ Having the return value of workflows depend on other Convex functions can lead t
349
`internal.foo.bar` way of specifying functions. The way to fix this is to explicitly type the return value of the
350
workflow. When in doubt, add return types to more `handler` functions, like this:
351
352
-```ts
+```diff
353
export const supportAgentWorkflow = workflow.define({
354
args: { prompt: v.string(), userId: v.string(), threadId: v.string() },
355
+ handler: async (step, { prompt, userId, threadId }): Promise<string> => {
0 commit comments