ragflow/agent/component
TeslaZY 476c56868d
Agent plans tasks by referring to its own prompt. (#9315)
### What problem does this PR solve?

Fixes the issue in the analyze_task execution flow where the Lead Agent
was not utilizing its own sys_prompt during task analysis, resulting in
incorrect or incomplete task planning.
https://github.com/infiniflow/ragflow/issues/9294
### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2025-08-11 17:05:06 +08:00
..
__init__.py Feat: Add thought info to every component. (#9134) 2025-07-31 15:13:45 +08:00
agent_with_tools.py Agent plans tasks by referring to its own prompt. (#9315) 2025-08-11 17:05:06 +08:00
base.py Refa: add result to callback for agent tool use. (#9137) 2025-08-01 21:49:39 +08:00
begin.py Refa: add result to callback for agent tool use. (#9137) 2025-08-01 21:49:39 +08:00
categorize.py Feat: Add thought info to every component. (#9134) 2025-07-31 15:13:45 +08:00
fillup.py Feat: Add thought info to every component. (#9134) 2025-07-31 15:13:45 +08:00
invoke.py Feat: Add thought info to every component. (#9134) 2025-07-31 15:13:45 +08:00
iteration.py Feat: Add thought info to every component. (#9134) 2025-07-31 15:13:45 +08:00
iterationitem.py Feat: Add thought info to every component. (#9134) 2025-07-31 15:13:45 +08:00
llm.py Refa: add result to callback for agent tool use. (#9137) 2025-08-01 21:49:39 +08:00
message.py Refa: add result to callback for agent tool use. (#9137) 2025-08-01 21:49:39 +08:00
string_transform.py Feat: Add thought info to every component. (#9134) 2025-07-31 15:13:45 +08:00
switch.py Feat: Add thought info to every component. (#9134) 2025-07-31 15:13:45 +08:00