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/nodes
-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
..
answer fix(workflow): fix answer node stream processing in conditional branches (#12510) 1 year ago
base feat: mypy for all type check (#10921) 2 years ago
code feat: mypy for all type check (#10921) 2 years ago
document_extractor feat: support single run doc extractor node (#11318) 2 years ago
end feat: mypy for all type check (#10921) 2 years ago
event feat: mypy for all type check (#10921) 2 years ago
http_request chore(lint): fix quotes for f-string formatting by bumping ruff to 0.9.x (#12702) 1 year ago
if_else fix: some typos using typos (#11374) 2 years ago
iteration feat: mypy for all type check (#10921) 2 years ago
knowledge_retrieval Revert "Feat/new saas billing" (#12673) 1 year ago
list_operator feat: mypy for all type check (#10921) 2 years ago
llm fix: Removes redundant token calculations and updates dependencies 1 year ago
loop feat: mypy for all type check (#10921) 2 years ago
parameter_extractor feat: mypy for all type check (#10921) 2 years ago
question_classifier feat: mypy for all type check (#10921) 2 years ago
start feat/enhance the multi-modal support (#8818) 2 years ago
template_transform feat(workflow-nodes): handle missing variables without failure (#10471) 2 years ago
tool feat: mypy for all type check (#10921) 2 years ago
variable_aggregator refactor(variables): replace deprecated 'get_any' with 'get' method (#9584) 2 years ago
variable_assigner fix: Update variable handling in VariableAssignerNode and clean up app_dsl_service (#12672) 1 year ago
__init__.py feat/enhance the multi-modal support (#8818) 2 years ago
enums.py fix: add retry feature to code node (#12005) 2 years ago
node_mapping.py Feat: upgrade variable assigner (#11285) 2 years ago