Skip to content

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

Feat: Modify the link address of the agent id #3909 (#4062)

balibabu4a95349492b6
diff --git a/web/src/components/api-service/embed-modal/index.tsx b/web/src/components/api-service/embed-modal/index.tsx
index d228b7993c..534c711098 100644
--- a/web/src/components/api-service/embed-modal/index.tsx
+++ b/web/src/components/api-service/embed-modal/index.tsx
@@ -93,12 +93,12 @@ const EmbedModal = ({
<Link
href={
isAgent
- ? 'https://ragflow.io/docs/dev/http_api_reference#create-session-with-an-agent'
+ ? 'https://ragflow.io/docs/dev/http_api_reference#create-session-with-agent'
: 'https://ragflow.io/docs/dev/http_api_reference#create-session-with-chat-assistant'
}
target="_blank"
>
- {t('howUseId')}
+ {t('howUseId', { keyPrefix: isAgent ? 'flow' : 'chat' })}
</Link>
</Modal>
);
diff --git a/web/src/pages/home/datasets.tsx b/web/src/pages/home/datasets.tsx
index 4d63d0a2d3..fa862484e9 100644
--- a/web/src/pages/home/datasets.tsx
+++ b/web/src/pages/home/datasets.tsx
@@ -24,7 +24,7 @@ export function Datasets() {
{list.slice(0, 3).map((dataset) => (
<Card
key={dataset.id}
- className="bg-colors-background-inverse-weak flex-1 border-colors-outline-neutral-standard"
+ className="bg-colors-background-inverse-weak flex-1 border-colors-outline-neutral-standard max-w-96"
>
<CardContent className="p-4">
<div className="flex justify-between mb-4">