dify/api/core/prompt
-LAN- a36ef8430e refactor(core): improve type annotations and file handling consistency
- Use more precise type annotations with Sequence and Mapping for task entities.
- Ensure raw_prompt is assigned properly after replacement in advanced prompt transform.
- Remove unused generator return type from _fetch_context method.
- Refactor tool node file handling to retrieve more comprehensive file attributes, ensuring file existence validation in the database.
2024-10-15 15:34:14 +08:00
..
entities chore(api/core): apply ruff reformatting (#7624) 2024-09-10 17:00:20 +08:00
prompt_templates chore: apply ruff E501 line-too-long linter rule (#8275) 2024-09-12 14:00:36 +08:00
utils refactor(core): simplify role handling and improve usability 2024-10-15 11:04:28 +08:00
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
advanced_prompt_transform.py refactor(core): improve type annotations and file handling consistency 2024-10-15 15:34:14 +08:00
agent_history_prompt_transform.py chore(api/core): apply ruff reformatting (#7624) 2024-09-10 17:00:20 +08:00
prompt_transform.py chore(api/core): apply ruff reformatting (#7624) 2024-09-10 17:00:20 +08:00
simple_prompt_transform.py feat(api): Enhance multi modal support. 2024-10-14 16:47:03 +08:00