QuantumGhost
32a1a61d65
security(api): enforce privilege validation for dataset-to-pipeline transformation
...
The transformation from classic dataset to knowledge pipeline represents an irreversible
write operation that permanently alters the dataset structure. To prevent unauthorized
modifications, this change implements strict privilege validation in `RagPipelineTransformApi`.
Only users with editor privileges or dataset operator roles are authorized to execute
this transformation, ensuring proper access control for this critical operation.
2025-09-12 17:07:26 +08:00
jyong
ad870de554
add dataset service api enable
2025-09-12 15:35:13 +08:00
kenwoodjw
c91253d05d
fix segment deletion race condition ( #24408 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-12 15:29:57 +08:00
Guangdong Liu
285291f545
refactor: update API routes and documentation for console endpoints ( #25554 )
2025-09-12 11:51:24 +08:00
QuantumGhost
ac41151571
chore(api): remove unused installed_plugins.jsonl
2025-09-12 10:38:43 +08:00
Yeuoly
ec808f3fe8
refactor: centralize default end user session ID constant ( #25416 )
...
This PR refactors the handling of the default end user session ID by centralizing it as an enum in the models module where the `EndUser` model is defined. This improves code organization and makes the relationship between the constant and the model clearer.
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-12 10:27:16 +08:00
zyssyz123
c2fcd2895b
Feat/email register refactor ( #25369 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
2025-09-12 10:24:54 +08:00
Ganondorf
bb1514be2d
Force update search method to keyword_search ( #25464 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-12 10:12:25 +08:00
Novice
17b5309e47
fix: single step system file error ( #25533 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-12 09:47:45 +08:00
Asuka Minato
05af23f88f
use autospec=True in mock ( #25497 )
2025-09-12 09:46:02 +08:00
Yongtao Huang
4511f4f537
Remove redundant parse_args call in WorkflowByIdApi.patch ( #25498 )
2025-09-12 09:40:41 +08:00
Wu Tianwei
84e3571ec3
fix: delete get upload file endpoint ( #25543 )
...
Co-authored-by: jyong <718720800@qq.com>
2025-09-12 09:36:53 +08:00
NeatGuyCoding
de18b14372
feat: add test containers based tests for delete segment from index task ( #25564 )
2025-09-12 09:33:39 +08:00
Yongtao Huang
a1322ddb5d
Fix: correct has_more pagination logic in get_conversational_variable ( #25484 )
...
Signed-off-by: Yongtao Huang<yongtaoh2022@gmail.com>
2025-09-12 09:32:22 +08:00
GuanMu
c7868fb176
test: remove print code ( #25481 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-12 09:30:56 +08:00
-LAN-
462ba354a4
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-12 00:21:06 +08:00
NeatGuyCoding
99f4cd1cfa
feat: add test containers based tests for deal dataset vector index ( #25545 )
2025-09-11 21:12:53 +08:00
-LAN-
3c668e4a5c
fix: update test assertions for ToolProviderApiEntity validation
...
- Fixed test_repack_provider_entity_no_dark_icon to use empty string instead of None for icon_dark field
- Updated test_builtin_provider_to_user_provider_no_credentials assertion to match actual implementation behavior where masked_credentials always contains empty strings for schema fields
2025-09-11 16:41:10 +08:00
-LAN-
872cff7bab
chore(iteration_node): convert some Any to object
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-11 15:40:12 +08:00
-LAN-
8fb69429f9
feat(graph_engine): support parallel mode in iteration node
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-11 15:37:46 +08:00
-LAN-
85064bd8cf
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-11 15:13:31 +08:00
-LAN-
ba5df3612b
fix: tests
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-11 15:13:18 +08:00
-LAN-
a923ab1ab8
fix: type errors
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-11 15:01:16 +08:00
QuantumGhost
874406d934
security(api): fix privilege escalation vulnerability in model config and chat message APIs ( #25518 )
...
The `ChatMessageApi` (`POST /console/api/apps/{app_id}/chat-messages`) and
`ModelConfigResource` (`POST /console/api/apps/{app_id}/model-config`)
endpoints do not properly validate user permissions, allowing users without `editor`
permission to access restricted functionality.
This PR addresses this issue by adding proper permission check.
2025-09-11 14:53:35 +08:00
-LAN-
b4c1766932
fix: type errors
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-10 21:48:05 +08:00
-LAN-
00a1af8506
refactor(graph_engine): use singledispatch in Node
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-10 20:59:34 +08:00
Eric Guo
70e4d6be34
Fix 500 in dataset page. ( #25474 )
2025-09-10 15:57:04 +08:00
jyong
c295b1d645
fix user_id missed
2025-09-10 13:50:12 +08:00
quicksand
f56fccee9d
fix: workflow knowledge query raise error ( #25465 )
2025-09-10 13:47:47 +08:00
Asuka Minato
cbc0e639e4
update sql in batch ( #24801 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-09-10 13:00:17 +08:00
Guangdong Liu
b51c724a94
refactor: Migrate part of the console basic API module to Flask-RESTX ( #24732 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-09-10 12:15:47 +08:00
GuanMu
26a9abef64
test: imporve ( #25461 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-10 11:36:22 +08:00
Will
fecdb9554d
fix: inner_api get_user_tenant ( #25462 )
2025-09-10 11:31:16 +08:00
NeatGuyCoding
45ef177809
Feature add test containers create segment to index task ( #25450 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-10 10:02:53 +08:00
Newton José
6574e9f0b2
Fix: Add Password Validation to Account Creation ( #25382 )
2025-09-10 08:58:39 +08:00
Asuka Minato
cce13750ad
add rule for strenum ( #25445 )
2025-09-10 08:51:21 +08:00
-LAN-
b6b98a2c8e
Merge branch 'feat/dispatch-method' into feat/queue-based-graph-engine
2025-09-10 03:12:59 +08:00
-LAN-
7e69403dda
refactor(graph_engine): use singledispatchmethod in event_handler
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-10 03:12:33 +08:00
-LAN-
9796cede72
fix: add missing type field to node configurations in integration tests
...
- Added 'type' field to all node data configurations in test files
- Fixed test_code.py: added 'type: code' to all code node configs
- Fixed test_http.py: added 'type: http-request' to all HTTP node configs
- Fixed test_template_transform.py: added 'type: template-transform' to template node config
- Fixed test_tool.py: added 'type: tool' to all tool node configs
- Added setup_code_executor_mock fixture to test_execute_code_scientific_notation
These changes fix the ValueError: 'Node X missing or invalid type information' errors
that were occurring due to changes in the node factory validation requirements.
2025-09-10 02:54:01 +08:00
-LAN-
836ed1f380
refactor(graph_engine): Move ErrorHandler into a single file package
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-10 02:35:05 +08:00
-LAN-
80f39963f1
chore: add import lint to CI
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-10 02:32:24 +08:00
-LAN-
9cf2b2b231
fix: type errors
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-10 02:22:58 +08:00
-LAN-
2a97a69825
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-10 02:03:45 +08:00
-LAN-
f17c71e08a
refactor(graph_engine): Move GraphStateManager to single file package.
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-10 01:55:30 +08:00
-LAN-
08dd3f7b50
Fix basedpyright type errors ( #25435 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-10 01:54:26 +08:00
-LAN-
d52621fce3
refactor(graph_engine): Merge error strategies into error_handler.py
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-10 01:49:46 +08:00
-LAN-
e060d7c28c
refactor(graph_engine): remove Optional
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-10 01:49:15 +08:00
-LAN-
ea5dfe41d5
chore: ignore comment
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-10 01:36:11 +08:00
-LAN-
a23c8fcb1a
refactor: move execution limits from engine core to layer
...
Remove max_execution_time and max_execution_steps from ExecutionContext and GraphEngine since these limits are now handled by ExecutionLimitsLayer. This follows the separation of concerns principle by keeping execution limits as a cross-cutting concern handled by layers rather than embedded in core engine components.
Changes:
- Remove max_execution_time and max_execution_steps from ExecutionContext
- Remove these parameters from GraphEngine.__init__()
- Remove max_execution_time from Dispatcher
- Update workflow_entry.py to no longer pass these parameters
- Update all tests to remove these parameters
2025-09-10 01:32:45 +08:00
-LAN-
e0e82fbfaa
refactor: extract _run method into smaller focused methods in IterationNode
...
- Extract iterator variable retrieval and validation logic
- Separate empty iteration handling
- Create dedicated methods for iteration execution and result handling
- Improve type hints and use modern Python syntax
- Enhance code readability and maintainability
2025-09-10 01:15:36 +08:00
-LAN-
1c9f40f92a
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-09 22:16:59 +08:00
-LAN-
6ffa2ebabf
feat: improve error handling in graph node creation
...
- Replace ValueError catch with generic Exception
- Use logger.exception for automatic traceback logging
- Abort on node creation failure instead of continuing
2025-09-09 22:16:42 +08:00
-LAN-
48e32e285e
fix: migration
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-09 21:41:03 +08:00
Yongtao Huang
2ac7a9c8fc
Chore: thanks to bump-pydantic ( #25437 )
2025-09-09 20:07:17 +08:00
Novice
240b65b980
fix(mcp): properly handle arrays containing both numbers and strings ( #25430 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-09 20:06:35 +08:00
QuantumGhost
6637b9efda
fix(api): Fix incorrect import of ToolProviderID
2025-09-09 17:42:42 +08:00
-LAN-
95dc1e2fe8
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-09 17:13:16 +08:00
-LAN-
7443c5a6fc
refactor: update pyrightconfig to scan all API files ( #25429 )
2025-09-09 17:12:45 +08:00
GuanMu
a1cf48f84e
Add lib test ( #25410 )
2025-09-09 17:11:49 +08:00
-LAN-
6fe7cf5ebf
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-09 17:11:46 +08:00
jyong
fc8adb9d6c
fix ruff
2025-09-09 17:07:22 +08:00
Asuka Minato
38057b1b0e
add typing to all wraps ( #25405 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-09 16:48:33 +08:00
twwu
045d07885d
Merge branch 'main' into fix/value-content-rerender-error
2025-09-09 16:40:08 +08:00
-LAN-
a1e8ac4c96
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-09 15:49:09 +08:00
ttz12345
d2e50a508c
Fix:About the error problem of creating an empty knowledge base interface in service_api ( #25398 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-09 15:18:31 +08:00
Yongtao Huang
4aba570fa8
Fix flask response: 200 -> {}, 200 ( #25404 )
2025-09-09 15:06:18 +08:00
Novice
e180c19cca
fix(mcp): current_user not being set in MCP requests ( #25393 )
2025-09-09 14:58:14 +08:00
Xiyuan Chen
64c9a2f678
Feat/credential policy ( #25151 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-08 23:45:05 -07:00
Novice
566e0fd3e5
fix(container-test): batch create segment position sort ( #25394 )
2025-09-09 13:47:29 +08:00
-LAN-
b46858d87d
Merge branch 'main' into feat/queue-based-graph-engine
2025-09-09 13:33:17 +08:00
NeatGuyCoding
7dfb72e381
feat: add test containers based tests for clean notion document task ( #25385 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-09 11:02:19 +08:00
Asuka Minato
649242f82b
example of uuid ( #25380 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-09 10:45:08 +08:00
Yeuoly
720ecea737
fix: tenant_id was not specific when retrieval end-user in plugin backwards invocation wraps ( #25377 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-09 09:49:35 +08:00
-LAN-
5ab6838849
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-08 19:55:43 +08:00
-LAN-
ec0800eb1a
refactor: update pyrightconfig.json to use ignore field for better type checking configuration ( #25373 )
2025-09-08 19:55:25 +08:00
zyssyz123
ea61420441
Revert "feat: email register refactor" ( #25367 )
2025-09-08 19:20:09 +08:00
kenwoodjw
598ec07c91
feat: enable dsl export encrypt dataset id or not ( #25102 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2025-09-08 18:03:24 +08:00
NeatGuyCoding
aff2482436
Feature add test containers batch create segment to index ( #25306 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-08 17:55:57 +08:00
zyssyz123
860ee20c71
feat: email register refactor ( #25344 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-08 17:51:43 +08:00
-LAN-
2a84832998
Merge branch 'feat/queue-based-graph-engine' into feat/rag-2
2025-09-08 16:44:00 +08:00
-LAN-
ef974e484b
fix: handle None env vars
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-08 16:43:47 +08:00
Krito.
74be2087b5
fix: ensure Performance Tracing button visible when no tracing provid… ( #25351 )
2025-09-08 16:38:09 +08:00
-LAN-
aeaeb28a0b
fix: add variable_pool to pipeline WorkflowEntry
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-08 16:17:43 +08:00
-LAN-
b865ef54d5
chore: bump version to 2.0.0-beta.2
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-08 15:19:02 +08:00
-LAN-
23cd615489
Merge branch 'feat/queue-based-graph-engine' into feat/rag-2
2025-09-08 14:30:43 +08:00
Cluas
f891c67eca
feat: add MCP server headers support #22718 ( #24760 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Novice <novice12185727@gmail.com>
2025-09-08 14:10:55 +08:00
-LAN-
299141ae01
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-08 13:56:45 +08:00
NeatGuyCoding
5d0a50042f
feat: add test containers based tests for clean dataset task ( #25341 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-08 13:09:53 +08:00
ZalterCitty
4ee49f3550
chore: remove weird account login ( #22247 )
...
Co-authored-by: zhuqingchao <zhuqingchao@xiaomi.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-08 10:44:36 +08:00
Asuka Minato
f6059ef389
add more typing ( #24949 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-08 10:40:00 +08:00
Ding
ce2281d31b
Fix: Parameter Extractor Uses Correct Prompt for Prompt Mode in Chat Models ( #24636 )
...
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-09-08 10:29:12 +08:00
qxo
593f7989b8
fix: 'curr_message_tokens' where it is not associated with a value #25307 ( #25308 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-08 09:59:53 +08:00
Asuka Minato
16a3e21410
more assert ( #24996 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-08 09:59:43 +08:00
-LAN-
9b8a03b53b
[Chore/Refactor] Improve type annotations in models module ( #25281 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-08 09:42:27 +08:00
-LAN-
7e629fd783
fix: update iteration node to use correct variable segment types ( #25315 )
2025-09-07 21:31:41 +08:00
-LAN-
cc1d437dc1
fix: correct indentation in TokenBufferMemory get_history_prompt_messages method
2025-09-07 12:48:50 +08:00
-LAN-
7aef0b54e5
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-07 12:34:54 +08:00
NeatGuyCoding
afa7228076
fix: a failed index to be marked as created ( #25290 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-06 22:53:26 +08:00
-LAN-
3c28936796
fix: test
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-06 16:21:28 +08:00
NeatGuyCoding
9964cc202d
Feature add test containers batch clean document ( #25287 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-06 16:18:26 +08:00
-LAN-
81fdc7c54b
fix: type errors
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-06 16:09:59 +08:00
-LAN-
b05245eab0
fix: resolve typing errors in configs module ( #25268 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-06 16:08:14 +08:00
-LAN-
abb53f11ad
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-06 16:05:13 +08:00
Asuka Minato
a78339a040
remove bare list, dict, Sequence, None, Any ( #25058 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-09-06 03:32:23 +08:00
Asuka Minato
2b0695bdde
add more dataclass ( #25039 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-06 03:20:13 +08:00
-LAN-
d9aa0ec046
fix: resolve mypy type errors in http_request and list_operator nodes
...
- Fix str | bytes union type handling in http_request executor
- Add type guard for boolean filter value in list_operator node
2025-09-05 21:17:18 +08:00
-LAN-
6c3302a192
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-05 21:13:07 +08:00
-LAN-
7ba1f0a046
chore: improve typing
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-05 20:57:11 +08:00
NeatGuyCoding
917d60a1cb
Feature add test containers add document to index ( #25251 )
2025-09-05 19:20:37 +08:00
taewoong Kim
edf4a1b652
feat: add reasoning format processing to LLMNode for <think> tag handling ( #23313 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-05 18:15:35 +08:00
jyong
bebd7c5718
change migration
2025-09-05 15:30:02 +08:00
jyong
917c924a94
change migration
2025-09-05 15:29:48 +08:00
coolfinish
cd95237ae4
fix: loop node doesn't exit when it react the condition #24717 ( #24844 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-05 14:38:52 +08:00
Will
110b6a0863
fix incorrect indent in TokenBufferMemory ( #25215 )
2025-09-05 14:01:07 +08:00
kenwoodjw
1ba69b8abf
fix: child chunk API 404 due to UUID type comparison ( #25234 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2025-09-05 14:00:28 +08:00
Yongtao Huang
e3cbe85db4
Fix _logger is not defined ( #25235 )
2025-09-05 13:59:37 +08:00
-LAN-
e78f1cdc6a
refactor: improve plugin version validation to support full semantic versioning ( #25161 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-05 12:39:48 +08:00
Yongtao Huang
432f89cf33
Chore: clean some # type: ignore ( #25157 )
2025-09-05 11:30:04 +08:00
Yoshio Sugiyama
4966e4e1fb
fix: Remove invalid key from firecrawl request payload. ( #25190 )
...
Signed-off-by: SUGIYAMA Yoshio <nenegi.01mo@gmail.com>
2025-09-05 10:10:56 +08:00
Yongtao Huang
1a81c79852
Correct value knowledge_index to align with NodeType.KNOWLEDGE_INDEX.value ( #25180 )
2025-09-05 09:54:34 +08:00
Anubhav Singh
f721c778ad
fix: Ensure the order of execution steps are correct when logging with Weave by W&B ( #25183 )
2025-09-05 09:24:59 +08:00
-LAN-
a2e0f80c01
[Chore/Refactor] Improve type checking configuration ( #25185 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-05 08:34:18 +08:00
-LAN-
2adf5d0eee
docs: remove outdated document
2025-09-05 02:09:53 +08:00
-LAN-
103a9a4e67
fix(graph_engine): add type hint for workers_to_remove
2025-09-05 01:59:11 +08:00
-LAN-
15b3443e9e
fix(debug_logging_layer): remove access for variable pool
2025-09-05 01:52:19 +08:00
Yongtao Huang
334218a62c
Remove unused mypy script ( #25177 )
2025-09-05 00:22:38 +08:00
jyong
d4ee915058
Merge branch 'feat/queue-based-graph-engine' into feat/rag-2
2025-09-04 20:51:48 +08:00
-LAN-
81e9d6f63a
fix: correct type checking for None values in code node output validation
...
- Fixed isinstance() checks to properly handle None values by checking None separately
- Fixed typo in STRING type validation where 'output_name' was hardcoded as string instead of variable
- Updated error message format to be consistent and more informative
- Updated test assertion to match new error message format
2025-09-04 20:39:37 +08:00
Will
de768af099
fix: reset password ( #25172 )
2025-09-04 20:34:56 +08:00
jyong
b9394d542c
Merge branch 'feat/queue-based-graph-engine' into feat/rag-2
...
# Conflicts:
# api/core/app/apps/advanced_chat/generate_task_pipeline.py
# api/pyproject.toml
# api/uv.lock
# docker/docker-compose-template.yaml
# docker/docker-compose.yaml
# web/package.json
2025-09-04 20:30:08 +08:00
-LAN-
9c2943183e
test: fix code node
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-04 20:17:28 +08:00
twwu
443e1fad32
chore: Bump version to 2.0.0-beta1
2025-09-04 20:06:15 +08:00
-LAN-
f6a2a09815
test: fix code node
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-04 20:04:29 +08:00
jyong
e21c133e1d
change migration
2025-09-04 19:38:51 +08:00
-LAN-
e229510e73
perf: eliminate lock contention in worker pool by removing callbacks
...
Remove worker idle/active callbacks that caused severe lock contention.
Instead, use sampling-based monitoring where worker states are queried
on-demand during scaling decisions. This eliminates the performance
bottleneck caused by workers acquiring locks 10+ times per second.
Changes:
- Remove callback parameters from Worker class
- Add properties to expose worker idle state directly
- Update WorkerPool to query worker states without callbacks
- Maintain scaling functionality with better performance
2025-09-04 19:37:31 +08:00
-LAN-
36048d1526
feat(graph_engine): allow to scale down without lock
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-04 19:32:07 +08:00
-LAN-
aff7ca12b8
fix(code_node): type checking bypass
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-04 19:25:08 +08:00
-LAN-
ad9eed2551
fix: disable scale for perfermance
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-04 19:11:22 +08:00
jyong
771ea54a0b
change migration
2025-09-04 18:37:58 +08:00
Will
d36ce782b7
fix: update account profile ( #25150 )
2025-09-04 18:32:51 +08:00
jyong
35ec0d25e8
change migration
2025-09-04 18:06:45 +08:00
-LAN-
07109846e0
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-04 17:48:08 +08:00
-LAN-
2aeaefccec
test: fix test
2025-09-04 17:47:36 +08:00
-LAN-
4d63bd2083
refactor(graph_engine): rename SimpleWorkerPool to WorkerPool
2025-09-04 17:47:13 +08:00
jyong
952fb16b91
change migration
2025-09-04 17:37:21 +08:00
jyong
e9f11b4706
change migration
2025-09-04 17:29:09 +08:00
jyong
41b5596441
fix file name
2025-09-04 17:11:13 +08:00
-LAN-
226f14a20f
feat(graph_engine): implement scale down worker
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-04 15:35:20 +08:00
jyong
94f2956e3a
fix file name
2025-09-04 14:52:23 +08:00
jyong
1e5f6c1475
fix file name
2025-09-04 14:07:58 +08:00