60d9d0584a
refactor: migrate marketplace.py from requests to httpx ( #24015 )
2025-09-01 14:28:21 +08:00
ffba341258
[CHORE]: remove redundant-cast ( #24807 )
2025-09-01 14:05:32 +08:00
8433cf4437
refactor(graph_engine): Merge event_collector and event_emitter into event_manager
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-09-01 13:15:58 +08:00
bb5d52539c
refactor(graph_engine): Merge branch_handler into edge_processor
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-09-01 12:53:06 +08:00
88622f70fb
refactor(graph_engine): Move setup methods into __init__
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-09-01 12:08:03 +08:00
2e6e414a9e
the conversion OAuthGrantType(parsed_args["grant_type"]) can raise ValueError for invalid values which is not caught and will produce a 500 ( #24854 )
2025-09-01 10:05:54 +08:00
c45d676477
remove duplicated authorization header handling and bearer should be case-insensitive ( #24852 )
2025-09-01 10:05:19 +08:00
b8d8dddd5a
example of decorator typing ( #24857 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-01 10:04:24 +08:00
0fdb1b2bc9
refactor(graph_engine): Correct private attributes and private methods naming
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-09-01 04:37:23 +08:00
a5cb9d2b73
refactor(graph_engine): inline output_registry into response_coordinator
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-09-01 03:59:53 +08:00
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