Agent chat does not support knowledge base (context) retrieval,chat assist can do it #17172

Closed
opened 2026-02-21 19:32:10 -05:00 by yindo · 0 comments
Owner

Originally created by @HokerLIU on GitHub (Sep 11, 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.8.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

I encountered the same problem on the differentiate-1.8.0 version. Even though my description was more accurate, the Agent still did not reference the knowledge base at all, while the chat assistant was ok. model is same!
Chat Assist
Image
Agent
Agent
Image

✔️ Expected Behavior

Agent also can use the knowledgeBase

Actual Behavior

Agent can not use the knowledgeBase

Originally created by @HokerLIU on GitHub (Sep 11, 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.8.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce I encountered the same problem on the differentiate-1.8.0 version. Even though my description was more accurate, the Agent still did not reference the knowledge base at all, while the chat assistant was ok. model is same! Chat Assist <img width="1904" height="730" alt="Image" src="https://github.com/user-attachments/assets/b5c51f3a-6951-477e-baae-107855f183ac" /> Agent Agent <img width="1961" height="782" alt="Image" src="https://github.com/user-attachments/assets/38107612-604d-4a17-a270-195c345fb052" /> ### ✔️ Expected Behavior Agent also can use the knowledgeBase ### ❌ Actual Behavior Agent can not use the knowledgeBase
yindo added the 🐞 bug label 2026-02-21 19:32:10 -05:00
yindo closed this issue 2026-02-21 19:32:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#17172