chore: enchance auto generate prompt (#6564)

This commit is contained in:
Joel
2024-07-23 19:51:38 +08:00
committed by GitHub
parent 2bc0632d0d
commit 0f6a064c08
24 changed files with 565 additions and 293 deletions

View File

@@ -7,6 +7,7 @@ export type AutomaticRes = {
prompt: string
variables: string[]
opening_statement: string
error?: string
}
export const sendChatMessage = async (appId: string, body: Record<string, any>, { onData, onCompleted, onThought, onFile, onError, getAbortController, onMessageEnd, onMessageReplace }: {