[DOCS]: what's the default max dialogues of Agent Application? #225

Closed
opened 2026-02-16 05:19:29 -05:00 by yindo · 3 comments
Owner

Originally created by @zduo777 on GitHub (Aug 13, 2025).

Type of Documentation Change

Error/Typo fix

Documentation Page URL or Path

No response

Current Content

I query in one session, while my LLM max prompt is 16k, I want to know the default max dialogues of Agent Application, cuz Agent didn't have the set option. plz provide the documentation by the way

Suggested Changes

when I change the Agent Application to workflow, the default memory set option is 50

Reason for Change

No response

Code of Conduct

Originally created by @zduo777 on GitHub (Aug 13, 2025). ### Type of Documentation Change Error/Typo fix ### Documentation Page URL or Path _No response_ ### Current Content I query in one session, while my LLM max prompt is 16k, I want to know the default max dialogues of Agent Application, cuz Agent didn't have the set option. plz provide the documentation by the way ### Suggested Changes when I change the Agent Application to workflow, the default memory set option is 50 ### Reason for Change _No response_ ### Code of Conduct - [x] I agree to follow Dify's documentation [contribution guidelines](https://github.com/langgenius/dify/blob/0277a37fcad5ad86aeb239485c27fffd5cd90043/CONTRIBUTING.md)
yindo added the documentation label 2026-02-16 05:19:29 -05:00
yindo closed this issue 2026-02-16 05:19:29 -05:00
Author
Owner

@crazywoola commented on GitHub (Aug 14, 2025):

@dosu validate this issue.

@crazywoola commented on GitHub (Aug 14, 2025): @dosu validate this issue.
Author
Owner

@crazywoola commented on GitHub (Aug 15, 2025):

@dosu validate this issue.

@crazywoola commented on GitHub (Aug 15, 2025): @dosu validate this issue.
Author
Owner

@dosubot[bot] commented on GitHub (Aug 15, 2025):

The default max dialogues (chat history length) for the Agent Application is 10 and is not user-configurable. For workflow mode, the default memory setting is 50, which matches your observation. There is currently no explicit user-facing documentation for these defaults; they are set in the codebase and inferred from configuration logic. Recent pull requests have not changed this behavior or added documentation for it, and an attempt to make the Agent Application's max dialogues configurable was not merged or adopted into the project.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Join Discord Share on X

@dosubot[bot] commented on GitHub (Aug 15, 2025): <!-- Answer --> The default max dialogues (chat history length) for the Agent Application is 10 and is not user-configurable. For workflow mode, the default memory setting is 50, which matches your observation. There is currently no explicit user-facing documentation for these defaults; they are set in the codebase and inferred from configuration logic. Recent pull requests have not changed this behavior or added documentation for it, and an attempt to make the Agent Application's max dialogues configurable was not merged or adopted into the project. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/9076672a-bf76-48ed-aca7-d1417b5b801b?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/9076672a-bf76-48ed-aca7-d1417b5b801b?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/9076672a-bf76-48ed-aca7-d1417b5b801b?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/9076672a-bf76-48ed-aca7-d1417b5b801b?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/9076672a-bf76-48ed-aca7-d1417b5b801b?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/9076672a-bf76-48ed-aca7-d1417b5b801b?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/9076672a-bf76-48ed-aca7-d1417b5b801b?feedback_type=other)</sup>&nbsp;&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify-docs/issues/400)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-docs#225