⚡ Regroup database queries of /sendMessage in one place
Potentially reduces the total queries to database and it will help to migrate to Edge runtime
This commit is contained in:
@@ -79,6 +79,7 @@ export const executeChatCompletionOpenAIRequest = async ({
|
||||
logs.push({
|
||||
status: 'error',
|
||||
description: `Internal error`,
|
||||
details: error,
|
||||
})
|
||||
return { logs }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user