4.8.9 test fix (#2330)
* perf: query extension prompt * perf: get preview histories * perf: i18n * fix: share page cannot feedback * fix: publish i18n
This commit is contained in:
@@ -79,7 +79,13 @@ const Chat = ({ myApps }: { myApps: AppListItemType[] }) => {
|
||||
} = useChat();
|
||||
|
||||
const startChat = useCallback(
|
||||
async ({ messages, controller, generatingMessage, variables }: StartChatFnProps) => {
|
||||
async ({
|
||||
messages,
|
||||
controller,
|
||||
generatingMessage,
|
||||
variables,
|
||||
responseChatItemId
|
||||
}: StartChatFnProps) => {
|
||||
const completionChatId = chatId || getNanoid();
|
||||
// Just send a user prompt
|
||||
const histories = messages.slice(-1);
|
||||
@@ -91,6 +97,7 @@ const Chat = ({ myApps }: { myApps: AppListItemType[] }) => {
|
||||
...variables,
|
||||
...customVariables
|
||||
},
|
||||
responseChatItemId,
|
||||
appId,
|
||||
teamId,
|
||||
teamToken,
|
||||
|
||||
Reference in New Issue
Block a user