From 9a8a9caac4825a0d10e6d860d1827e4e44af1eb9 Mon Sep 17 00:00:00 2001 From: rdmclin2 Date: Mon, 3 Jun 2024 00:58:45 +0800 Subject: [PATCH 1/2] =?UTF-8?q?:bug:=20fix:=20=E6=9B=B4=E6=96=B0=20agent?= =?UTF-8?q?=20oss=20=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/constants/agent.ts | 6 +++--- src/features/MarketInfo/index.tsx | 1 + src/store/session/index.ts | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/constants/agent.ts b/src/constants/agent.ts index 3b402cbf..9c81a6c6 100644 --- a/src/constants/agent.ts +++ b/src/constants/agent.ts @@ -14,12 +14,12 @@ export const DEFAULT_VIDOL_AGENT: Agent = { greeting: `哈喽,亲爱的主人!我是你的私人助理 ${OFFICIAL_ROLE_NAME},愉快地为你服务!有什么我可以帮你的吗?`, homepage: 'https://github.com/lobehub/lobe-vidol', meta: { - avatar: 'https://registry.npmmirror.com/@v-idol/vidol-agent-sample-a/1.0.0/files/avatar.jpg', + avatar: 'https://r2.vidol.chat/agents/vidol-agent-sample-a/avatar.jpg', category: CategoryEnum.VROID, - cover: 'https://registry.npmmirror.com/@v-idol/vidol-agent-sample-a/1.0.0/files/cover.jpg', + cover: 'https://r2.vidol.chat/agents/vidol-agent-sample-a/cover.jpg', description: `${OFFICIAL_ROLE_NAME} 是 Vidol 的默认角色,是你的专属私人助理`, gender: GenderEnum.FEMALE, - model: 'https://registry.npmmirror.com/@v-idol/vidol-agent-sample-a/1.0.0/files/model.vrm', + model: 'https://r2.vidol.chat/agents/vidol-agent-sample-a/model.vrm', name: OFFICIAL_ROLE_NAME, readme: "AvatarSample_Aは、VRoid Studioに付属されているサンプルモデルの1つです。\r\n良識の範囲内で、本モデルに設定されているVRoid Hubの利用条件に沿って利用することができます。\r\nVRoid Hub連携アプリや、外部サービス等でぜひご活用ください。\r\nなお、本モデルはCC0ライセンスではありません、著作権は放棄はしておりませんので予めご了承ください。\r\n本モデルの利用条件は、以下ヘルプ記事をご覧ください。\r\nvroid.pixiv.help/hc/ja/articles/4402394424089\r\n\r\nAvatarSample_A is one of the sample models included in VRoid Studio.\r\nIt can be used in accordance with its VRoid Hub conditions of use, within reason.\r\nFeel free to use this model in applications linked to VRoid Hub and on external services.\r\nPlease note that this model is not under the CC0 license and its copyright has not been waived.\r\nTo learn more about this model's conditions of use, consult the following Help article.\r\nvroid.pixiv.help/hc/en-us/articles/4402394424089", diff --git a/src/features/MarketInfo/index.tsx b/src/features/MarketInfo/index.tsx index fb967267..4b4cd9d6 100644 --- a/src/features/MarketInfo/index.tsx +++ b/src/features/MarketInfo/index.tsx @@ -68,6 +68,7 @@ const Header = () => { actions.push(