2
0

🚸 (dify) Improve error display when streaming

This commit is contained in:
Baptiste Arnaud
2024-05-25 19:59:34 +02:00
parent e015385a7c
commit e1f1b58c1c
10 changed files with 126 additions and 90 deletions

View File

@ -64,7 +64,10 @@ export type ActionDefinition<
credentials: CredentialsFromAuthDef<A>
options: z.infer<BaseOptions> & z.infer<Options>
variables: VariableStore
}) => Promise<ReadableStream<any> | undefined>
}) => Promise<{
stream?: ReadableStream<any>
httpError?: { status: number; message: string }
}>
}
web?: {
displayEmbedBubble?: {