ragflow/agent/component
Liu An d7b4e84cda
Refa: Update LLM stream response type to Generator (#9420)
### What problem does this PR solve?

Change return type of _generate_streamly from str to Generator[str,
None, None] to properly type hint streaming responses.

### Type of change

- [x] Refactoring
2025-08-12 18:05:52 +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 Fix:valueERROR when file is optional but not exist value (#9414) 2025-08-12 17:39:03 +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 Fix:HTTP request component failed to retrieve the corresponding value (#9399) 2025-08-12 12:27:22 +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: Update LLM stream response type to Generator (#9420) 2025-08-12 18:05:52 +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