64c1234724
refactor(graph_engine): Merge worker management into one WorkerPool
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-09-01 03:23:47 +08:00
202fdfcb81
refactor(graph_engine): Remove backward compatibility code
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-09-01 02:41:16 +08:00
e2f4c9ba8d
refactor(graph_engine): Merge state managers into unified_state_manager
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-09-01 02:08:08 +08:00
546d75d84d
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-01 00:29:28 +08:00
cb04c21141
model_config = ConfigDict(extra='allow') ( #24859 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-31 23:21:41 +08:00
24e2b72b71
Update ast-grep pattern for session.query ( #24828 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-31 17:03:51 +08:00
b66945b9b8
feat: add test containers based tests for api tool manage service ( #24821 )
2025-08-31 17:02:08 +08:00
bdfbfa391f
Feature add test containers mcp tools manage service ( #24840 )
2025-08-31 17:01:01 +08:00
72acd9b483
Remove redundant from_variable_selector null-check ( #24842 )
2025-08-31 17:00:13 +08:00
63c035d8a2
chore(api): migrate import for db
2025-08-31 16:46:25 +08:00
e9e7d4f3cd
Merge branch 'feat/rag-2' into feat/workflow-draft-var-optimize
2025-08-31 15:17:23 +08:00
c72d847ac7
feat(api): support array[boolean] truncation
2025-08-31 14:32:53 +08:00
982fd9170c
WIP: test(api): tests for truncation logic
2025-08-31 13:45:16 +08:00
91fac9b720
WIP: feat(api): draft var cleanup task
2025-08-31 13:45:16 +08:00
a527bd42b5
chore(api): optimize file url signing
2025-08-31 13:45:16 +08:00
621b75b343
feat(api): implement truncation for SSE events
2025-08-31 13:45:15 +08:00
6b9d2e98b9
feat(api): Implement truncation for WorkflowNodeExecution
2025-08-31 13:44:39 +08:00
2fd337e610
feat(api): add WorkflowNodeExecutionOffload model
2025-08-31 13:44:39 +08:00
a7aa17e361
chore(api): remove orphan files in draft var cleanup script
2025-08-31 13:44:38 +08:00
13eb9f7d7d
feat(api): implement truncation for draft var
2025-08-31 13:44:38 +08:00
d7db58cabd
feat(api): implement VariableTruncator
2025-08-31 13:44:38 +08:00
0cf8a80bdd
chore(api): Introduce variable truncation configuration
2025-08-31 13:44:38 +08:00
a10586c8ea
fixup! feat(api): Add migration for WorkflowDraftVariableFile
2025-08-31 13:44:38 +08:00
40faa9ce16
refactor(api): Inject db dependency to FileService
2025-08-31 13:44:38 +08:00
58dfae60f0
feat(api): Add migration for WorkflowDraftVariableFile
2025-08-31 13:44:38 +08:00
de08b2310c
feat(api): Introduce WorkflowDraftVariableFile model
...
This model is used to track offloaded variables values for
`WorkflowDraftVariable`.
2025-08-31 13:44:38 +08:00
e9c6038192
docs(api): update docs for UploadFile
2025-08-31 13:44:38 +08:00
9f528d23d4
poc of validate config ( #24837 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-31 02:41:52 +08:00
a8fe4ea802
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-08-30 16:36:10 +08:00
82193580de
chore: improve typing
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-08-30 16:35:57 +08:00
0fe078d25e
fix: workflow_finish_to_stream_response assert exception with celery … ( #24674 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-30 00:59:21 +08:00
5415d0c6d1
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-08-29 23:17:30 +08:00
d8af8ae4e6
fix: update workflow service tests for new graph engine
...
- Update method calls from _handle_node_run_result to _handle_single_step_result
- Add required fields (id, node_id, node_type, start_at) to graph events
- Use proper NodeType enum values instead of strings
- Fix imports to use correct modules (Node instead of BaseNode)
- Ensure event generators return proper generator objects
These tests were failing because the internal implementation changed
with the new graph engine architecture.
2025-08-29 23:04:33 +08:00
04e5d4692f
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-08-29 22:34:47 +08:00
3aa48efd0a
test(test_workflow_service): Use new engine's method.
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-08-29 22:06:10 +08:00
8d60e5c342
chore(api): fix Alembic offline migration compatibility ( #24795 )
...
This PR fixes Alembic offline mode (`--sql` flag) by ensuring data migration functions only execute in online mode. When running in offline mode, these functions now skip data operations and output informational comments to the generated SQL.
2025-08-29 19:13:24 +08:00
d9eb1a73af
fix(api): fix DetachedInstanceError for Account.current_tenant_id ( #24789 )
...
The `Account._current_tenant` object is loaded by a database session (typically `db.session`) whose lifetime
is not aligned with the Account model instance. This misalignment causes a `DetachedInstanceError` to be raised
when accessing attributes of `Account._current_tenant` after the original session has been closed.
To resolve this issue, we now reload the tenant object with `expire_on_commit=False`, ensuring the tenant remains
accessible even after the session is closed.
2025-08-29 19:12:02 +08:00
1a34ff8a67
fix: change the mcp server strucutre to support github copilot ( #24788 )
2025-08-29 18:00:58 +08:00
14e7ba4818
chore: change the oauth_provider_apps table to uuidV7 ( #24792 )
2025-08-29 17:54:14 +08:00
c2afb84884
fix chunk format
2025-08-29 17:10:18 +08:00
8eb78c04b2
chore(token_buffer_memory): code format
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-08-29 17:02:51 +08:00
22ee318cf8
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-08-29 17:01:42 +08:00
3c0adfb48a
fix chunk format
2025-08-29 16:27:22 +08:00
20ae3eae54
feat: add filename support to multi-modal prompt messages ( #24777 )
2025-08-29 16:22:26 +08:00
f2bc4f5d87
fix: resolve type error in node_factory by using type guard for node_type_str
2025-08-29 16:16:58 +08:00
d7d456349d
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-08-29 16:14:04 +08:00
929d9e0b3f
feat(api): maintain assistant content parts and file handling in advanced chat ( #24663 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-29 15:19:55 +08:00
5cf795f2b8
fix preview run
2025-08-29 14:48:51 +08:00
e4383d6167
Chore: remove dupliacte logic in DatasetApi.get() ( #24769 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com >
2025-08-29 14:25:36 +08:00
f32e176d6a
feat: oauth provider ( #24206 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yessenia <yessenia.contact@gmail.com >
2025-08-29 14:10:51 +08:00