Merge branch 'ai-hub' into ai-hub-dev
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
"@jsonlee_12138/enum": "^1.0.4",
|
||||
"@vueuse/core": "^13.5.0",
|
||||
"@vueuse/integrations": "^13.5.0",
|
||||
"driver.js": "^1.3.6",
|
||||
"element-plus": "^2.10.4",
|
||||
"fingerprintjs": "^0.5.3",
|
||||
"hook-fetch": "^2.0.4-beta.1",
|
||||
@@ -67,7 +68,7 @@
|
||||
"postcss-html": "1.5.0",
|
||||
"prettier": "^3.6.2",
|
||||
"sass-embedded": "^1.89.2",
|
||||
"stylelint": "^16.21.2",
|
||||
"stylelint": "^16.21.1",
|
||||
"stylelint-config-html": "^1.1.0",
|
||||
"stylelint-config-recess-order": "^7.1.0",
|
||||
"stylelint-config-recommended-scss": "^15.0.1",
|
||||
|
||||
@@ -188,9 +188,14 @@ async function startSSE(chatContent: string) {
|
||||
? `${item.content.substring(0, 2000)}...(内容过长,已省略)`
|
||||
: item.content,
|
||||
})),
|
||||
sessionId: route.params?.id !== 'not_login' ? String(route.params?.id) : undefined,
|
||||
// sessionId: route.params?.id !== 'not_login' ? String(route.params?.id) : undefined,
|
||||
// userId: userStore.userInfo?.userId,
|
||||
// model: modelStore.currentModelInfo.modelId ?? '',
|
||||
|
||||
sessionId: route.query?.sessionId !== 'not_login' ? String(route.query?.sessionId) : undefined, // 修改点:sessionId 从 query 参数中获取
|
||||
userId: userStore.userInfo?.userId,
|
||||
model: modelStore.currentModelInfo.modelId ?? '',
|
||||
model: modelStore.currentModelInfo.modelId ?? '', // 修改点:modelId 改为 model
|
||||
|
||||
})) {
|
||||
handleDataChunk(chunk.result as AnyObject);
|
||||
}
|
||||
|
||||
1
Yi.Ai.Vue3/types/import_meta.d.ts
vendored
1
Yi.Ai.Vue3/types/import_meta.d.ts
vendored
@@ -6,7 +6,6 @@ interface ImportMetaEnv {
|
||||
readonly VITE_WEB_ENV: string;
|
||||
readonly VITE_WEB_BASE_API: string;
|
||||
readonly VITE_API_URL: string;
|
||||
readonly VITE_BUILD_COMPRESS: string;
|
||||
readonly VITE_SSO_SEVER_URL: string;
|
||||
readonly VITE_APP_VERSION: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user