mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-29 09:44:47 +00:00
feat: chat status
This commit is contained in:
@@ -34,6 +34,9 @@ export async function dispatchContentExtract({
|
||||
history = [],
|
||||
description
|
||||
}: Props): Promise<Response> {
|
||||
if (!content) {
|
||||
return Promise.reject('Input is empty');
|
||||
}
|
||||
const messages: ChatItemType[] = [
|
||||
...history,
|
||||
{
|
||||
|
Reference in New Issue
Block a user