Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Truncate long agent descriptions text (#7924)

Jason Li64f930b1c57b
diff --git a/web/src/pages/flow/list/flow-card/index.tsx b/web/src/pages/flow/list/flow-card/index.tsx
index dbde4cf516..38586a8e70 100644
--- a/web/src/pages/flow/list/flow-card/index.tsx
+++ b/web/src/pages/flow/list/flow-card/index.tsx
@@ -51,7 +51,9 @@ const FlowCard = ({ item }: IProps) => {
>
{item.title}
</Typography.Title>
- <p>{item.description}</p>
+ <p className="truncate" title={item.description}>
+ {item.description}
+ </p>
</div>
<div className={styles.footer}>
<div className={styles.bottom}>