diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 118421f53..09e8f405b 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -22,9 +22,9 @@ const Home = () => { - {/* - 浙B2-20080101 - */} + + 浙ICP备2023011255号-1 + Made by FastGpt Team. diff --git a/src/pages/model/detail/index.tsx b/src/pages/model/detail/index.tsx index 96a37d3f9..759ceeb0e 100644 --- a/src/pages/model/detail/index.tsx +++ b/src/pages/model/detail/index.tsx @@ -39,6 +39,7 @@ const ModelDetail = ({ modelId }: { modelId: string }) => { setLoading(true); try { const res = await getModelById(modelId); + console.log(res); setModel(res); formHooks.reset(res); } catch (err: any) { diff --git a/src/service/utils/auth.ts b/src/service/utils/auth.ts index 1492a22b0..a6cdfead0 100644 --- a/src/service/utils/auth.ts +++ b/src/service/utils/auth.ts @@ -39,7 +39,7 @@ export const authModel = async ({ } // detail 内容去除 - if (!model.share.isShareDetail) { + if (!model.share.isShareDetail && userId !== String(model.userId)) { model.systemPrompt = ''; model.temperature = 0; }