diff --git a/web/src/components/ChatComponent.vue b/web/src/components/ChatComponent.vue index 8897f71d..5cf106ca 100644 --- a/web/src/components/ChatComponent.vue +++ b/web/src/components/ChatComponent.vue @@ -9,11 +9,29 @@ > - - - + + + + + {{ configStore.config?.model_provider }}/{{ configStore.config?.model_name }} + + +

模型配置

-

请在 src/.env 文件中配置对应的 APIKEY

+

请在 src/.env 文件中配置对应的 APIKEY,并重新启动服务

自定义模型

@@ -167,9 +167,9 @@
- @@ -550,7 +550,7 @@ const sendRestart = () => { .model-icon { width: 28px; height: 28px; - + // 灰度 filter: grayscale(100%); img { @@ -627,7 +627,7 @@ const sendRestart = () => { .icon-wrapper { display: inline-flex; transition: transform 0.2s ease; - + &.rotated { transform: rotate(180deg); } @@ -639,7 +639,7 @@ const sendRestart = () => { max-height: 0; overflow: hidden; transition: max-height 0.2s ease-out; // 先快后慢 - + &.expanded { max-height: 700px; /* 设置一个足够大的值 */ } @@ -710,7 +710,7 @@ const sendRestart = () => { flex: 1; margin-right: 8px; position: relative; - + &:hover::after { content: attr(title); position: absolute;