dify/api/core/app/apps/advanced_chat
Yansong Zhang 2de2a8fd3a fix(api): resolve multi-turn memory failure in Agent apps
- Auto-resolve parent_message_id when not provided by client,
  querying the latest message in the conversation to maintain
  the thread chain that extract_thread_messages() relies on.
- Add AppMode.AGENT to TokenBufferMemory mode checks so file
  attachments in memory are handled via the workflow branch.
- Add debug logging for memory injection in node_factory and node.

Made-with: Cursor
2026-04-09 16:27:38 +08:00
..
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
app_config_manager.py feat: enhance start node object value check (#30732) 2026-01-09 16:13:17 +08:00
app_generator.py fix(api): resolve multi-turn memory failure in Agent apps 2026-04-09 16:27:38 +08:00
app_runner.py refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
generate_response_converter.py test: unit test cases for core.app.apps module (#32482) 2026-03-12 11:23:25 +08:00
generate_task_pipeline.py refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00