diff --git a/frontend/src/app/workspace/chats/[thread_id]/page.tsx b/frontend/src/app/workspace/chats/[thread_id]/page.tsx
index 86f0ec1f..254e6191 100644
--- a/frontend/src/app/workspace/chats/[thread_id]/page.tsx
+++ b/frontend/src/app/workspace/chats/[thread_id]/page.tsx
@@ -472,8 +472,22 @@ export default function ChatPage() {
/>
) : (
-
-
+ {thread.values.artifacts?.length === 0 ? (
+
}
+ title="No artifact selected"
+ description="Select an artifact to view its details"
+ />
+ ) : (
+
+
+
+ {t.common.artifacts}
+
+
-
- {thread.values.artifacts?.length === 0 ? (
-
}
- title="No artifact selected"
- description="Select an artifact to view its details"
- />
- ) : (
-
-
-
- {t.common.artifacts}
-
@@ -656,7 +657,7 @@ export default function ChatPage() {
{/* MARK: 开发测试:iframe 通信功能测试面板 */}
- {process.env.NODE_ENV !== "production" && }
+ {/* {process.env.NODE_ENV !== "production" && } */}
);
diff --git a/frontend/src/components/ai-elements/chain-of-thought.tsx b/frontend/src/components/ai-elements/chain-of-thought.tsx
index 8fda3db0..715292de 100644
--- a/frontend/src/components/ai-elements/chain-of-thought.tsx
+++ b/frontend/src/components/ai-elements/chain-of-thought.tsx
@@ -207,7 +207,7 @@ export const ChainOfThoughtContent = memo(
& {
from: UIMessage["role"];
+ isFirstInSession?: boolean;
};
-export const Message = ({ className, from, ...props }: MessageProps) => (
+export const Message = ({
+ className,
+ from,
+ isFirstInSession = false,
+ ...props
+}: MessageProps) => (
(
handleClick(file)}
>
-
+
-
- {getFileIcon(file, "size-6 stroke-[1.5px] stroke-[#333333]")}
+
+ {getFileIcon(file, "size-9 stroke-[1px] stroke-[#333333]")}
-
+
{getFileExtensionDisplayName(file)} file
@@ -124,7 +124,10 @@ export function ArtifactFileList({
target="_blank"
onClick={(e) => e.stopPropagation()}
>
-