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>
12 months ago
..
answer fix(workflow): fix answer node stream processing in conditional branches (#12510) 1 year ago
base feat: mypy for all type check (#10921) 1 year ago
code feat: mypy for all type check (#10921) 1 year ago
document_extractor feat: support single run doc extractor node (#11318) 1 year ago
end feat: mypy for all type check (#10921) 1 year ago
event feat: mypy for all type check (#10921) 1 year 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) 1 year ago
iteration feat: mypy for all type check (#10921) 1 year ago
knowledge_retrieval Revert "Feat/new saas billing" (#12673) 1 year ago
list_operator feat: mypy for all type check (#10921) 1 year ago
llm fix: Removes redundant token calculations and updates dependencies 12 months ago
loop feat: mypy for all type check (#10921) 1 year ago
parameter_extractor feat: mypy for all type check (#10921) 1 year ago
question_classifier feat: mypy for all type check (#10921) 1 year ago
start feat/enhance the multi-modal support (#8818) 1 year ago
template_transform feat(workflow-nodes): handle missing variables without failure (#10471) 1 year ago
tool feat: mypy for all type check (#10921) 1 year ago
variable_aggregator refactor(variables): replace deprecated 'get_any' with 'get' method (#9584) 1 year 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) 1 year ago
enums.py fix: add retry feature to code node (#12005) 1 year ago
node_mapping.py Feat: upgrade variable assigner (#11285) 1 year ago