mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-12 08:39:05 +08:00
### 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:
parent
0fcb564261
commit
4a95349492
@ -93,12 +93,12 @@ const EmbedModal = ({
|
|||||||
<Link
|
<Link
|
||||||
href={
|
href={
|
||||||
isAgent
|
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'
|
: 'https://ragflow.io/docs/dev/http_api_reference#create-session-with-chat-assistant'
|
||||||
}
|
}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
{t('howUseId')}
|
{t('howUseId', { keyPrefix: isAgent ? 'flow' : 'chat' })}
|
||||||
</Link>
|
</Link>
|
||||||
</Modal>
|
</Modal>
|
||||||
);
|
);
|
||||||
|
@ -24,7 +24,7 @@ export function Datasets() {
|
|||||||
{list.slice(0, 3).map((dataset) => (
|
{list.slice(0, 3).map((dataset) => (
|
||||||
<Card
|
<Card
|
||||||
key={dataset.id}
|
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">
|
<CardContent className="p-4">
|
||||||
<div className="flex justify-between mb-4">
|
<div className="flex justify-between mb-4">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user