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

### What problem does this PR solve?

Feat: Modify the link address of the agent id #3909

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu 2024-12-17 15:13:22 +08:00 committed by GitHub
parent 0fcb564261
commit 4a95349492
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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>
);

View File

@ -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">