6283 Commits

Author SHA1 Message Date
Joel
bd17a3e083 Merge branch 'feat/last-run-frontend' into deploy/dev 2025-05-29 13:56:50 +08:00
Joel
98398661e4 fix: reset value not pass the right value 2025-05-29 11:13:14 +08:00
Joel
c82dcecfa6 merge main 2025-05-29 10:59:30 +08:00
Joel
dbea9a5b8a Merge branch 'feat/mcp-frontend' into deploy/dev 2025-05-29 10:53:42 +08:00
Joel
f5d18d4e28 fix: search ui broken in explore page 2025-05-29 10:41:56 +08:00
Novice
b2ab401279
chore: remove agent turn limits (#19930) 2025-05-29 09:51:56 +08:00
Novice
9bbd646f40
fix: inner invoke llm token too long (#20391) 2025-05-29 09:49:44 +08:00
QuantumGhost
bce63c142f Merge branch 'feat/variable-pool-rebased' into deploy/dev 2025-05-29 03:09:50 +08:00
QuantumGhost
248686ab6d Revert "Merge branch 'feat/variable-pool-rebased' into deploy/dev"
This reverts commit a7bfe67797c78b6244582f457edea3f2ceb21582, reversing
changes made to 580d134a2214fc234a4d3ca939d35138022eb91c.
2025-05-29 02:57:21 +08:00
QuantumGhost
7a382a35b4 feat(api): simplify gevent setup logic 2025-05-29 02:47:58 +08:00
QuantumGhost
6df77c7ae2 feat(api): add support for conversation input fields in draft node run api 2025-05-29 02:47:58 +08:00
QuantumGhost
ae53286bcc feat(api): add support for conversation input fields in draft node run api 2025-05-29 02:47:58 +08:00
QuantumGhost
4c7873bdd9 feat(api): inject the variable_loader all the way down for loop & iteration
# Conflicts:
#	api/core/app/apps/advanced_chat/app_generator.py
#	api/core/app/apps/workflow/app_generator.py
2025-05-29 02:47:32 +08:00
QuantumGhost
31fa5baadf feat(api): overhaul draft variable saving logic
add support for many node types
2025-05-29 02:46:12 +08:00
QuantumGhost
29bc0d5000 feat(api): Add a method for extract a node configration from workflow 2025-05-29 02:46:12 +08:00
QuantumGhost
7c632bdea9 docs(api): Add a comment about repetitive json loading in Workflow.graph_dict 2025-05-29 02:46:12 +08:00
QuantumGhost
cf034b53e0 feat(api): Move DummyLoader from workflow_entry to variable_loader
add a utility function for variable loading logic.
2025-05-29 02:46:12 +08:00
QuantumGhost
710d729b4b feat(api): Add a dummy VariableLoader, add a utility function
for variable loading logic.
2025-05-29 02:46:11 +08:00
QuantumGhost
d720287504 feat(api): utilize ConversationVariableUpdater in variable assigner nodes
Removed the original logic
2025-05-29 02:46:11 +08:00
QuantumGhost
1b234de81f feat(api): Implement variable mapping extraction for VariableAssignerNode 2025-05-29 02:46:11 +08:00
QuantumGhost
b376f7aeec feat(api): include the loop variables in extracted variable mappings 2025-05-29 02:46:11 +08:00
QuantumGhost
253978b8df docs(api): Update docs for extract_variable_selector_to_variable_mapping 2025-05-29 02:46:11 +08:00
QuantumGhost
c1313dd914 test(api): add tests for VariablePool construction 2025-05-29 02:46:11 +08:00
QuantumGhost
fd38cfd6b2 chore(api): remove the constructor for VariablePool
Replace it with `model_post_init` as suggested by
Pydantic docs.
2025-05-29 02:46:11 +08:00
QuantumGhost
c730f0fcf2 test(api): Add some tests for DraftVariable related code 2025-05-29 02:46:11 +08:00
QuantumGhost
7165333468 feat(api): Add some utility functions for working with generators 2025-05-29 02:46:11 +08:00
QuantumGhost
701d659f54 fix(api): Fix input variable handling for Start node. 2025-05-29 02:46:11 +08:00
QuantumGhost
ed4b072467 feat(api): Implement VariableLoader in DraftVarLoader.
Use DraftVarLoader to load required variables when single stepping a
node.
2025-05-29 02:46:11 +08:00
QuantumGhost
b7a4117341 feat(api): Introduce a VariableLoader interface.
The `VariableLoader` interface is used to load referenced variables
when running a single node.
2025-05-29 02:46:11 +08:00
QuantumGhost
d83c8ade4a feat(api): Implement variable mapping extraction for IfElseNode
This allows us to extract referenced variables from `IfElseNode` configurations.
2025-05-29 02:46:11 +08:00
QuantumGhost
c4e7489be5 docs(api): Add documentation for extract_variable_selector_to_variable_mapping
Add a detail description about the arguments and
the return value of
`BaseNode.extract_variable_selector_to_variable_mapping`.
2025-05-29 02:46:11 +08:00
QuantumGhost
85ab1dc8d9 fix(api): Fix incorrect handling of Variable types in VariablePool 2025-05-29 02:46:11 +08:00
QuantumGhost
7ee95dbc1c docs(api): Add a documentation about equality of FloatSegment 2025-05-29 02:46:11 +08:00
QuantumGhost
325b737f09 fix(api): Fix incorrect variable name for sys var. 2025-05-29 02:46:11 +08:00
QuantumGhost
5aa044e392 feat(api): implement draft var related api 2025-05-29 02:46:09 +08:00
QuantumGhost
c7e6b9ce9c feat(api): save output variables to draft variables while debugging workflow 2025-05-29 02:45:16 +08:00
QuantumGhost
655d55f290 feat(api): add a version class method to BaseNode and subclasses
This ensures that we can get the version of node while executing.

Add `node_version` to `BaseNodeEvent` to ensure that all node
related events includes node version information.
2025-05-29 02:45:16 +08:00
QuantumGhost
1fbeb8d9bf feat(api): Save output variables as draft variables in single stepping 2025-05-29 02:45:16 +08:00
QuantumGhost
254324cd6c feat(api): Save output variables as draft variables in single stepping 2025-05-29 02:45:16 +08:00
QuantumGhost
9650ade7fb feat(api): Implement WorkflowDraftService 2025-05-29 02:45:16 +08:00
QuantumGhost
0d5a0a4b24 feat(api): add an API to retrieve the last execution of a given node. 2025-05-29 02:45:15 +08:00
NFish
57ece83c30
Fix/branding broken (#20375)
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
2025-05-28 20:06:58 +08:00
-LAN-
c3c67d9608
fix: register user model to current_user in backward invoke. (#20374)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-05-28 19:56:33 +08:00
-LAN-
f59fb94dae
feat(agent_node): ensure that the enum-checking syntax is compatible with Python 3.11. (#20373)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-05-28 19:56:17 +08:00
NFish
77280570a4 Merge branch 'fix/branding-broken' into deploy/dev 2025-05-28 18:23:57 +08:00
NFish
7ab0b7346e fix: branding logo broken 2025-05-28 18:23:10 +08:00
Joel
9ab0f0980d fix: start node inputs skiped 2025-05-28 17:54:14 +08:00
zxhlyh
861cdbd8b6 fix: workflow plugins list update (#20357) 2025-05-28 17:46:36 +08:00
zxhlyh
00199c41bb
fix: workflow plugins list update (#20357) 2025-05-28 17:45:08 +08:00
jZonG
29f9faf049 fix scroll 2025-05-28 17:32:27 +08:00