Revert "chore: use node specify llm to auto generate prompt" (#6555)

This commit is contained in:
Joel 2024-07-23 13:31:32 +08:00 • committed by GitHub
commit d726473c6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 57 additions and 98 deletions

View file

@ -7,7 +7,6 @@ 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 }: {