fix: display the current language directly at the top and do not disp… (#579)

…lay reference symbols for documents in external chat boxes  #566 #577

### What problem does this PR solve?

fix: display the current language directly at the top and do not display
reference symbols for documents in external chat boxes #566 #577

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
balibabu
2024-04-28 11:50:03 +08:00
committed by GitHub
parent 944776f207
commit ae501c58fa
3 changed files with 14 additions and 7 deletions

View File

@ -129,6 +129,7 @@ export const useSendSharedMessage = (
async (message: string, id?: string) => {
const retcode = await completeConversation({
conversation_id: id ?? conversationId,
quote: false,
messages: [
...(conversation?.message ?? []).map((x: IMessage) => omit(x, 'id')),
{