Commit Graph
286 Commits
Author SHA1 Message Date
-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- <[email protected]>
2025-04-28 15:39:12 +08:00
-LAN-andGitHub 413dfd5628 feat: add completion mode and context size options for LLM configuration (#13325)
Signed-off-by: -LAN- <[email protected]>
2025-02-07 15:08:53 +08:00
-LAN-andGitHub f9515901cc fix: Azure AI Foundry model cannot be used in the workflow (#13323)
Signed-off-by: -LAN- <[email protected]>
2025-02-07 14:52:57 +08:00
b7c11c1818 Fix the problem of Workflow terminates after parallel tasks execution, merge node not triggered (#12498)
Co-authored-by: Novice Lee <[email protected]>
2025-02-07 13:56:08 +08:00
-LAN-andGitHub 04d13a8116 feat(credits): Allow to configure model-credit mapping (#13274)
Signed-off-by: -LAN- <[email protected]>
2025-02-07 11:01:31 +08:00
-LAN-andGitHub b47669b80b fix: deduct LLM quota after processing invoke result (#13075)
Signed-off-by: -LAN- <[email protected]>
2025-02-02 12:05:11 +08:00
Bowen LiangandGitHub 166221d784 chore(lint): fix quotes for f-string formatting by bumping ruff to 0.9.x (#12702) 2025-01-21 10:12:29 +08:00
-LAN-andGitHub c700364e1c fix: Update variable handling in VariableAssignerNode and clean up app_dsl_service (#12672)
Signed-off-by: -LAN- <[email protected]>
2025-01-13 15:54:26 +08:00
JyongandGitHub 9a6b1dc3a1 Revert "Feat/new saas billing" (#12673) 2025-01-13 15:17:43 +08:00
Kevin9703andGitHub 54b5b80a07 fix(workflow): fix answer node stream processing in conditional branches (#12510) 2025-01-13 14:54:21 +08:00
JyongandGitHub d8f57bf899 Feat/new saas billing (#12591) 2025-01-12 14:50:46 +08:00
非法操作andGitHub d649037c3e feat: support single run doc extractor node (#11318) 2025-01-08 15:20:15 +08:00
非法操作andGitHub 67228c9b26 fix: url with variable not work (#12452) 2025-01-07 21:55:51 +08:00
41f39bf3fc Fix newline characters in tables during document parsing (#12112)
Co-authored-by: hisir <[email protected]>
2025-01-07 17:26:24 +08:00
yihongandGitHub fe26be2312 fix: http method can be upper case and lower case close #11877 (#12401)
Signed-off-by: yihong0618 <[email protected]>
2025-01-06 20:35:53 +08:00
非法操作andGitHub b218df6920 fix: draft run single node can't get env variable (#12266) 2025-01-01 13:31:44 +08:00
-LAN-andGitHub c7911c7130 fix: improve JSON parsing error handling in Executor class (#12265)
Signed-off-by: -LAN- <[email protected]>
2024-12-31 17:03:07 +08:00
-LAN-andGitHub 26b5680913 fix: improve merge branch node ID checks in graph engine (#12128)
Signed-off-by: -LAN- <[email protected]>
2024-12-26 23:33:45 +08:00
yihongandGitHub efdd54a670 fix: issue #12068 by test is answer in the ids (#12105)
Signed-off-by: yihong0618 <[email protected]>
2024-12-26 10:31:05 +08:00
JyongandGitHub 9231fdbf4c Feat/support parent child chunk (#12092) 2024-12-25 19:49:07 +08:00
-LAN-andGitHub 50b7ec3c73 fix(http_request): add error handling for invalid URLs (#12082)
Signed-off-by: -LAN- <[email protected]>
2024-12-25 18:36:33 +08:00
yihongandGitHub 56e15d09a9 feat: mypy for all type check (#10921) 2024-12-24 18:38:51 +08:00
yihongandGitHub 6a0ff3686c fix: fix typo (#12034)
Signed-off-by: yihong0618 <[email protected]>
2024-12-24 15:23:27 +08:00
yihongandGitHub e0f1410b48 fix: issue Multiple Paths Between IF/ELSE Branches (#11646)
Signed-off-by: yihong0618 <[email protected]>
2024-12-23 18:56:59 +08:00
-LAN-andGitHub c3c85276d1 Fix/refactor invoke result handling in question classifier node (#12015)
Signed-off-by: -LAN- <[email protected]>
2024-12-23 17:54:08 +08:00
-LAN-andGitHub d0dd8b7955 fix: add UUID validation for tool file ID extraction (#12011)
Signed-off-by: -LAN- <[email protected]>
2024-12-23 17:53:42 +08:00
-LAN-andGitHub 75bce2822e fix: add logging for missing edge mapping in StreamProcessor (#12008)
Signed-off-by: -LAN- <[email protected]>
2024-12-23 17:53:36 +08:00
dc19cd5d9d fix: add retry feature to code node (#12005)
Co-authored-by: Novice Lee <[email protected]>
2024-12-23 16:42:28 +08:00
-LAN-andGitHub e068bbec73 feat: add RequestBodyError for invalid request body handling (#11994)
Signed-off-by: -LAN- <[email protected]>
2024-12-23 15:53:03 +08:00
-LAN-andGitHub 9cfd1c67b6 fix: Introduce ArrayVariable and update iteration node to handle it (#12001)
Signed-off-by: -LAN- <[email protected]>
2024-12-23 15:52:50 +08:00
yihongandGitHub 70dd69d533 fix: Multiple Paths Between IF/ELSE Branches Invalidate Conditions (#11544)
Signed-off-by: yihong0618 <[email protected]>
2024-12-23 15:09:02 +08:00
c1aa55f3ea fix: remove the unused retry index field (#11903)
Signed-off-by: -LAN- <[email protected]>
Co-authored-by: Novice Lee <[email protected]>
Co-authored-by: -LAN- <[email protected]>
2024-12-23 14:32:11 +08:00
JasonVVandGitHub 4b1e13e982 Fix 11979 (#11984) 2024-12-23 14:30:04 +08:00
-LAN-andGitHub 03ddee3663 fix(variable_assigner): change VariableOperatorNodeError to inherit from ValueError (#11951)
Signed-off-by: -LAN- <[email protected]>
2024-12-22 10:43:40 +08:00
-LAN-andGitHub 21a31d7f8b fix(base_node): change BaseNodeError exception type from Exception to ValueError (#11952)
Signed-off-by: -LAN- <[email protected]>
2024-12-22 10:42:30 +08:00
-LAN-andGitHub 2c4df108e5 fix: raise http request node error on httpx.request error (#11954)
Signed-off-by: -LAN- <[email protected]>
2024-12-22 10:41:53 +08:00
-LAN-andGitHub a056a9d601 feat(code_node): add more check (#11949)
Signed-off-by: -LAN- <[email protected]>
2024-12-22 10:40:43 +08:00
-LAN-andGitHub a227af3664 fix(code_node): update type hints for string and number checks in Cod… (#11936)
Signed-off-by: -LAN- <[email protected]>
2024-12-21 21:24:22 +08:00
-LAN-andGitHub c07d9e96ce fix(nodes): handle errors in question_classifier and parameter_extractor (#11927)
Signed-off-by: -LAN- <[email protected]>
2024-12-21 21:21:57 +08:00
ac635c70cd fix: doc can not extract tables (#11879)
Signed-off-by: yihong0618 <[email protected]>
Co-authored-by: akinobu-i <[email protected]>
2024-12-20 17:19:46 +08:00
dacd457478 feat: add workflow parallel depth limit configuration (#11460)
Signed-off-by: -LAN- <[email protected]>
Co-authored-by: zxhlyh <[email protected]>
2024-12-20 14:52:20 +08:00
yihongandGitHub 7b03a0316d fix: better memory usage from 800+ to 500+ (#11796)
Signed-off-by: yihong0618 <[email protected]>
2024-12-20 14:51:43 +08:00
7abc7fa573 Feat: Retry on node execution errors (#11871)
Co-authored-by: Novice Lee <[email protected]>
2024-12-20 14:14:06 +08:00
-LAN-andGitHub 996a9135f6 feat(llm_node): support order in text and files (#11837)
Signed-off-by: -LAN- <[email protected]>
2024-12-20 14:12:50 +08:00
44104797d6 fix: Enhance file type detection in HTTP Request node (#11797)
Signed-off-by: -LAN- <[email protected]>
Co-authored-by: 谭成 <[email protected]>
Co-authored-by: -LAN- <[email protected]>
2024-12-20 02:21:41 +08:00
-LAN-andGitHub 62b9e5a6f9 feat(knowledge_retrieval_node): Suppress exceptions thrown by DatasetRetrieval (#11728)
Signed-off-by: -LAN- <[email protected]>
2024-12-17 13:12:29 +08:00
-LAN-andGitHub 92a840f1b2 feat(tool_node): Suppress exceptions thrown by the Tool (#11724)
Signed-off-by: -LAN- <[email protected]>
2024-12-17 12:11:50 +08:00
Kazuhisa WadaandGitHub 63f1dd7877 Make max_submit_count configurable via Config (#11673) 2024-12-16 12:59:37 +08:00
非法操作andGitHub 9c7a1bc067 fix: change http node params from dict to list tuple (#11665) 2024-12-15 21:27:39 +08:00
1765fe2a29 fix: iteration node in parallel mode token count error (#11539)
Co-authored-by: Novice Lee <[email protected]>
2024-12-11 14:23:01 +08:00