You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gcgj-dify-1.7.0/api/core/workflow
-LAN- 559ab46ee1
fix: Removes redundant token calculations and updates dependencies
Eliminates unnecessary pre-calculation of token limits and recalculation of max tokens
across multiple app runners, simplifying the logic for prompt handling.

Updates tiktoken library from version 0.8.0 to 0.9.0 for improved tokenization performance.

Increases default token limit in TokenBufferMemory to accommodate larger prompt messages.

These changes streamline the token management process and leverage the latest
improvements in the tiktoken library.

Fixes potential token overflow issues and prepares the system for handling larger
inputs more efficiently.

Relates to internal optimization tasks.

Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
..
callbacks feat: mypy for all type check (#10921) 2 years ago
entities feat: mypy for all type check (#10921) 2 years ago
graph_engine Fix the problem of Workflow terminates after parallel tasks execution, merge node not triggered (#12498) 1 year ago
nodes fix: Removes redundant token calculations and updates dependencies 1 year ago
utils feat(condition): add support for 'exists' and 'not exists' operators (#9687) 2 years ago
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2 years ago
constants.py feat/enhance the multi-modal support (#8818) 2 years ago
enums.py chore: bump minimum supported Python version to 3.11 (#10386) 2 years ago
errors.py feat/enhance the multi-modal support (#8818) 2 years ago
workflow_engine_manager.py feat: Parallel Execution of Nodes in Workflows (#8192) 2 years ago
workflow_entry.py fix: draft run single node can't get env variable (#12266) 2 years ago