After enabling the grounding function, the Gemini 2.5 Pro model of vertex ai encountered the problem of a large number of repeated displays of reference URLs #786

Closed
opened 2026-02-16 10:20:30 -05:00 by yindo · 1 comment
Owner

Originally created by @Jicheng-han on GitHub (Nov 7, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.7.2

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

LLM answer likes :
Method 2: Install Driver via Official .run File (Advanced)
Use this method if the PPA does not have the specific version you need.

Download the Driver:
Go to the NVIDIA Driver Downloads page. Select your product details and download the .run file for version 575.51 or newer.

Stop the Graphical Interface:
The driver cannot be installed while the desktop environment is running.

Grounding Sources

techpowerup.com
phoenixnap.com
youtube.com
pny.com
kinetica.com
nvidia.com
medium.com
nvidia.com
youtube.com
linuxcapable.com
bash sudo telinit 3
Grounding Sources

techpowerup.com
phoenixnap.com
youtube.com
pny.com
kinetica.com
nvidia.com
medium.com
nvidia.com
youtube.com
linuxcapable.com
You will be dropped into a command-line interface. Log in with your credentials.

✔️ Expected Behavior

I hope to resolve this compatibility issue, which I believe is caused by the incompatibility between the updated content on the model side and our grounding processing code. Thank you

Actual Behavior

Recently, when using vertexai's Gemini 2.5 Pro in chatflow with the grounding feature enabled, there are often a large number of repeated grounding resource URLs in the responses. These URLs should have appeared at the end of the answer, but now they are inserted into the text response in large quantities.

Image
Originally created by @Jicheng-han on GitHub (Nov 7, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.7.2 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce LLM answer likes : Method 2: Install Driver via Official .run File (Advanced) Use this method if the PPA does not have the specific version you need. Download the Driver: Go to the [NVIDIA Driver Downloads](https://www.nvidia.com/Download/index.aspx) page. Select your product details and download the .run file for version 575.51 or newer. Stop the Graphical Interface: The driver cannot be installed while the desktop environment is running. Grounding Sources [techpowerup.com](https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQG3EXwZeGyRy_mFQapK47n3Bkiduzev0NBCOpCaClwCUkQhw1xSmy6PI48N2RIWWzYxWEQt9ozsqr5rU5xwptnwQ3DY2nc9SRw6WS4V3mSvja7x6h7W5ee3p9JdhTlMbRRDyQivQ-HMXoI=) [phoenixnap.com](https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQEjMo0x6xaRWVZ3lbeSN2X4WEoyAoKJDaZd8tOtCD4Ti0BAjCZYQGsIPKL37BPLUNo1VgyK485_3ZXlkyhJMFj-vvweqgwF8hNgTFve_27RU2p-TV_sBqrzYQpRfi1ud3XoiOU2qEHC1RIfbCvFjQ9LYg==) [youtube.com](https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQFNx5R3erK5RXZDpPuXgTRkE4TUC9qmiYg9sy8S58VLNvyq94m8v5ggHoYo_W2VDrQHnmnnaEHdedcEmSKUrEZ2MCEaGy0pneLLoh7SfkrfPEoVk3snU2xuoGEc_yD9B2Njj-Hipg==) [pny.com](https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQHBiaoofpmEWQ0K3rq8mTjj6seGICL96SXMoEDd6l1gY5y9wnMZFCh1PvHjL2Qvr39qto-PrAjqzJ_FDz8mZ08_FrFzezQh1k_3MqrneXkWPBt50OLRHrQfYQWcxDvBW8uLGGsWzNszg-GtfZXNzluG) [kinetica.com](https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQH8NnrDP-VMP2w69KYuNphPJfrQSBtByoaK17Jl0bJorotcKtC-wZMpCYAgzUbJ7LIOxVSfZnvW7pDfS2loV_JWduNTCHEOsmYoMZbxabjvKs_OCg_EvDz0DjfyMdUZCBn3M6J_Om86IB2h_w==) [nvidia.com](https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQE45WOxFW9YkDd1KfSgwc8HogEQlhW2QeMEB3nC0_Lngho5ZIdY8uwqzbqEUjEtiUwx8G-3HcNNxj_dvjYjdHSSnDVOIylVb7aCzOjyjU5GHI3MCZcQFzQl2llRZ4egIPzowvpjGgPriVHSQQdHBQ==) [medium.com](https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQG1eoQyQEE2EVHUXiMFvRb0tf1PMbJwTdcjF9RCkeUdTfiDBJe_nHAbo5vSM1zR9kQ2YGHAzTQl9Z8f905U3BnyxYwi8NbKtfsM66FUYU8cD1pCXEZy-LZaYG2qr1i80TL23Z6E2b5xhUruT08Xrjo6p4t58ow0Za-i9R6yfzOQlwXcLbo0R5mZogzik6XBuj3ANqfZ6Q==) [nvidia.com](https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQHblfmH9YF8-oyzGEdLou44jxZXnLEYfkAl2X0p9IOp6BL34rYougrTQLPqluWHb1mN6Aqk0L0jobXZHqwQrfERUH50cHAP2jRlrIqX3_yr_epBKtkvnTnROsxsrCxibBxpQJJFHdYXYNbjjcc4SPqJKPbR) [youtube.com](https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQEPGilEzOTBqZdA0ZRp5B80u-XjqkGAkPRBk__TU4stItqi73KtCLJS0I7_YbhRiJIMZGwfVsRAlcJYMspBSVlU81PlUynbg5HZI0AhPN6KeSGlYgdsFHkOaLCr5j-w4DqRklz2Aw==) [linuxcapable.com](https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQGrf4PMtfF2076uDVXNAzlI5xtw0UXathCagIoZ-A4xZgVIc7TrEqrkecBmJ3Tj1qmP1eGT0xT-pc91PRSiQXtDicAuwMigU72784KNmVe1t10QFYxu8r16KBx7WeFDWngkxt4WQmPSFrUNU_P8MbML2jPPaw0TnQ==) ```bash sudo telinit 3 ``` Grounding Sources [techpowerup.com](https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQG3EXwZeGyRy_mFQapK47n3Bkiduzev0NBCOpCaClwCUkQhw1xSmy6PI48N2RIWWzYxWEQt9ozsqr5rU5xwptnwQ3DY2nc9SRw6WS4V3mSvja7x6h7W5ee3p9JdhTlMbRRDyQivQ-HMXoI=) [phoenixnap.com](https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQEjMo0x6xaRWVZ3lbeSN2X4WEoyAoKJDaZd8tOtCD4Ti0BAjCZYQGsIPKL37BPLUNo1VgyK485_3ZXlkyhJMFj-vvweqgwF8hNgTFve_27RU2p-TV_sBqrzYQpRfi1ud3XoiOU2qEHC1RIfbCvFjQ9LYg==) [youtube.com](https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQFNx5R3erK5RXZDpPuXgTRkE4TUC9qmiYg9sy8S58VLNvyq94m8v5ggHoYo_W2VDrQHnmnnaEHdedcEmSKUrEZ2MCEaGy0pneLLoh7SfkrfPEoVk3snU2xuoGEc_yD9B2Njj-Hipg==) [pny.com](https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQHBiaoofpmEWQ0K3rq8mTjj6seGICL96SXMoEDd6l1gY5y9wnMZFCh1PvHjL2Qvr39qto-PrAjqzJ_FDz8mZ08_FrFzezQh1k_3MqrneXkWPBt50OLRHrQfYQWcxDvBW8uLGGsWzNszg-GtfZXNzluG) [kinetica.com](https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQH8NnrDP-VMP2w69KYuNphPJfrQSBtByoaK17Jl0bJorotcKtC-wZMpCYAgzUbJ7LIOxVSfZnvW7pDfS2loV_JWduNTCHEOsmYoMZbxabjvKs_OCg_EvDz0DjfyMdUZCBn3M6J_Om86IB2h_w==) [nvidia.com](https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQE45WOxFW9YkDd1KfSgwc8HogEQlhW2QeMEB3nC0_Lngho5ZIdY8uwqzbqEUjEtiUwx8G-3HcNNxj_dvjYjdHSSnDVOIylVb7aCzOjyjU5GHI3MCZcQFzQl2llRZ4egIPzowvpjGgPriVHSQQdHBQ==) [medium.com](https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQG1eoQyQEE2EVHUXiMFvRb0tf1PMbJwTdcjF9RCkeUdTfiDBJe_nHAbo5vSM1zR9kQ2YGHAzTQl9Z8f905U3BnyxYwi8NbKtfsM66FUYU8cD1pCXEZy-LZaYG2qr1i80TL23Z6E2b5xhUruT08Xrjo6p4t58ow0Za-i9R6yfzOQlwXcLbo0R5mZogzik6XBuj3ANqfZ6Q==) [nvidia.com](https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQHblfmH9YF8-oyzGEdLou44jxZXnLEYfkAl2X0p9IOp6BL34rYougrTQLPqluWHb1mN6Aqk0L0jobXZHqwQrfERUH50cHAP2jRlrIqX3_yr_epBKtkvnTnROsxsrCxibBxpQJJFHdYXYNbjjcc4SPqJKPbR) [youtube.com](https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQEPGilEzOTBqZdA0ZRp5B80u-XjqkGAkPRBk__TU4stItqi73KtCLJS0I7_YbhRiJIMZGwfVsRAlcJYMspBSVlU81PlUynbg5HZI0AhPN6KeSGlYgdsFHkOaLCr5j-w4DqRklz2Aw==) [linuxcapable.com](https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQGrf4PMtfF2076uDVXNAzlI5xtw0UXathCagIoZ-A4xZgVIc7TrEqrkecBmJ3Tj1qmP1eGT0xT-pc91PRSiQXtDicAuwMigU72784KNmVe1t10QFYxu8r16KBx7WeFDWngkxt4WQmPSFrUNU_P8MbML2jPPaw0TnQ==) You will be dropped into a command-line interface. Log in with your credentials. ### ✔️ Expected Behavior I hope to resolve this compatibility issue, which I believe is caused by the incompatibility between the updated content on the model side and our grounding processing code. Thank you ### ❌ Actual Behavior Recently, when using vertexai's Gemini 2.5 Pro in chatflow with the grounding feature enabled, there are often a large number of repeated grounding resource URLs in the responses. These URLs should have appeared at the end of the answer, but now they are inserted into the text response in large quantities. <img width="2361" height="1796" alt="Image" src="https://github.com/user-attachments/assets/199f411f-c90e-4e90-97b2-2cf30d91a485" />
yindo added the bug label 2026-02-16 10:20:30 -05:00
yindo closed this issue 2026-02-16 10:20:30 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Nov 26, 2025):

Hi, @Jicheng-han. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported that enabling the grounding function in the Gemini 2.5 Pro model on Vertex AI causes repeated reference URLs in LLM responses.
  • This behavior was observed on Dify version 1.7.2 in a self-hosted Docker environment.
  • No additional comments or updates have been provided since the initial report.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of dify-official-plugins by commenting here.
  • If I do not hear back within 5 days, this issue will be automatically closed.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Nov 26, 2025): Hi, @Jicheng-han. I'm [Dosu](https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported that enabling the grounding function in the Gemini 2.5 Pro model on Vertex AI causes repeated reference URLs in LLM responses. - This behavior was observed on Dify version 1.7.2 in a self-hosted Docker environment. - No additional comments or updates have been provided since the initial report. **Next Steps:** - Please let me know if this issue is still relevant with the latest version of dify-official-plugins by commenting here. - If I do not hear back within 5 days, this issue will be automatically closed. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#786