|
@@ -14,7 +14,7 @@ import HeaderComponent from './components/Header/index.vue'
|
|
|
import { HoverButton, SvgIcon, MinePannel, VipPannel, MaskPannel, Share } from '@/components/common'
|
|
import { HoverButton, SvgIcon, MinePannel, VipPannel, MaskPannel, Share } from '@/components/common'
|
|
|
import { useBasicLayout } from '@/hooks/useBasicLayout'
|
|
import { useBasicLayout } from '@/hooks/useBasicLayout'
|
|
|
import { useChatStore, useAppStore, usePromptStore, useAuthStore, useUserMemberStore, useCompanyStore } from '@/store'
|
|
import { useChatStore, useAppStore, usePromptStore, useAuthStore, useUserMemberStore, useCompanyStore } from '@/store'
|
|
|
-import { fetchChatAPIProcess, fetchChatPDF } from '@/api'
|
|
|
|
|
|
|
+import { fetchChatAPIProcess } from '@/api'
|
|
|
import { t } from '@/locales'
|
|
import { t } from '@/locales'
|
|
|
import { useTheme } from '@/hooks/useTheme'
|
|
import { useTheme } from '@/hooks/useTheme'
|
|
|
import { emitter } from '@/plugins'
|
|
import { emitter } from '@/plugins'
|
|
@@ -134,7 +134,6 @@ async function onConversation() {
|
|
|
prompt: message,
|
|
prompt: message,
|
|
|
options,
|
|
options,
|
|
|
signal: controller.signal,
|
|
signal: controller.signal,
|
|
|
- company: company.value,
|
|
|
|
|
onDownloadProgress: ({ event }) => {
|
|
onDownloadProgress: ({ event }) => {
|
|
|
const xhr = event.target
|
|
const xhr = event.target
|
|
|
const { responseText } = xhr
|
|
const { responseText } = xhr
|
|
@@ -240,7 +239,6 @@ async function onRegenerate(index: number) {
|
|
|
prompt: message,
|
|
prompt: message,
|
|
|
options,
|
|
options,
|
|
|
signal: controller.signal,
|
|
signal: controller.signal,
|
|
|
- company: company.value,
|
|
|
|
|
onDownloadProgress: ({ event }) => {
|
|
onDownloadProgress: ({ event }) => {
|
|
|
const xhr = event.target
|
|
const xhr = event.target
|
|
|
const { responseText } = xhr
|
|
const { responseText } = xhr
|