balibabu
		
	commited on
		
		
					Commit 
							
							·
						
						3fb798a
	
1
								Parent(s):
							
							414b804
								
Feat: Modify the link address of the agent id #3909 (#4062)
Browse files### 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)
    	
        web/src/components/api-service/embed-modal/index.tsx
    CHANGED
    
    | @@ -93,12 +93,12 @@ const EmbedModal = ({ | |
| 93 | 
             
                  <Link
         | 
| 94 | 
             
                    href={
         | 
| 95 | 
             
                      isAgent
         | 
| 96 | 
            -
                        ? 'https://ragflow.io/docs/dev/http_api_reference#create-session-with- | 
| 97 | 
             
                        : 'https://ragflow.io/docs/dev/http_api_reference#create-session-with-chat-assistant'
         | 
| 98 | 
             
                    }
         | 
| 99 | 
             
                    target="_blank"
         | 
| 100 | 
             
                  >
         | 
| 101 | 
            -
                    {t('howUseId')}
         | 
| 102 | 
             
                  </Link>
         | 
| 103 | 
             
                </Modal>
         | 
| 104 | 
             
              );
         | 
|  | |
| 93 | 
             
                  <Link
         | 
| 94 | 
             
                    href={
         | 
| 95 | 
             
                      isAgent
         | 
| 96 | 
            +
                        ? 'https://ragflow.io/docs/dev/http_api_reference#create-session-with-agent'
         | 
| 97 | 
             
                        : 'https://ragflow.io/docs/dev/http_api_reference#create-session-with-chat-assistant'
         | 
| 98 | 
             
                    }
         | 
| 99 | 
             
                    target="_blank"
         | 
| 100 | 
             
                  >
         | 
| 101 | 
            +
                    {t('howUseId', { keyPrefix: isAgent ? 'flow' : 'chat' })}
         | 
| 102 | 
             
                  </Link>
         | 
| 103 | 
             
                </Modal>
         | 
| 104 | 
             
              );
         | 
    	
        web/src/pages/home/datasets.tsx
    CHANGED
    
    | @@ -24,7 +24,7 @@ export function Datasets() { | |
| 24 | 
             
                        {list.slice(0, 3).map((dataset) => (
         | 
| 25 | 
             
                          <Card
         | 
| 26 | 
             
                            key={dataset.id}
         | 
| 27 | 
            -
                            className="bg-colors-background-inverse-weak flex-1 border-colors-outline-neutral-standard"
         | 
| 28 | 
             
                          >
         | 
| 29 | 
             
                            <CardContent className="p-4">
         | 
| 30 | 
             
                              <div className="flex justify-between mb-4">
         | 
|  | |
| 24 | 
             
                        {list.slice(0, 3).map((dataset) => (
         | 
| 25 | 
             
                          <Card
         | 
| 26 | 
             
                            key={dataset.id}
         | 
| 27 | 
            +
                            className="bg-colors-background-inverse-weak flex-1 border-colors-outline-neutral-standard max-w-96"
         | 
| 28 | 
             
                          >
         | 
| 29 | 
             
                            <CardContent className="p-4">
         | 
| 30 | 
             
                              <div className="flex justify-between mb-4">
         |