🚸 (dify) Improve error display when streaming
This commit is contained in:
@ -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?: {
|
||||
|
Reference in New Issue
Block a user