Commit Graph

526 Commits (d1d06ed9fcc02e5dab7d9faa7a609c5080b80428)

Author SHA1 Message Date
QuantumGhost d1d06ed9fc Merge remote-tracking branch 'upstream/main' into feat/variable-pool-rebased 1 year ago
QuantumGhost 68408805dc refactor(api): extract enclosing_node_id directly from graph definition
Instead of attaching it to `execution_metadata` and
extracting from the result.
1 year ago
QuantumGhost 59c5254fb9 feat(api): Save the output variables for LOOP node. 1 year ago
QuantumGhost 282f44822c feat(api): do not save `finish_reason` from LLM node outputs 1 year ago
QuantumGhost b28be1a1ff feat(api): add support for node variable value resetting 1 year ago
QuantumGhost 91ee015114 fix(api): fix creating draft conversation variable
Creating a draft converstaion variable does not require a
`node_execution_id`.
1 year ago
Xiyuan Chen 0720bc7408
Feat/webapp verified sso main (#20494) 1 year ago
QuantumGhost 80569ce29f Merge remote-tracking branch 'upstream/main' into feat/variable-pool-rebased 1 year ago
QuantumGhost 724e6a1d80 WIP: node var reset. 1 year ago
Bowen Liang c1a13fa553
chore: replace pseudo-random generators with secrets module (#20616) 1 year ago
QuantumGhost 83cd796b4d feat(api): regenerate the url signature when serializing File object. 1 year ago
QuantumGhost 743b792869 feat(api): reconstruct File object from dictionary when saving outputs.
This ensures that the variables type is correct. It also simplify handling of variable
values when serializing.
1 year ago
QuantumGhost 55eb4765cb refactor(api): Rename `output` parameter of `save` method to `outputs`.
Keep the parameter names consistent with the field names `NodeRunResult`.
1 year ago
QuantumGhost 2edc837585 fix(api): adjust `UpdatedVariable` handling
It's impossible to use Pydantic to restore subclasses of
`Segment` from serialized dictionary (using discriminated
union does not help, neither.)

So migrate to save `variable_type` and `new_value`
separately, instead of store it altogether as a `Segment`
class.
1 year ago
QuantumGhost 83d6a5e92a fix(api): fix the issue that prefilled conv var not commited 1 year ago
Novice 4ac3600f81
fix: update app tag error (#20618) 1 year ago
QuantumGhost 9c0bbb2d2d fix(api): Fix _should_variable_be_visible, removed unused tests 1 year ago
QuantumGhost ffa9bc8998 feat(api): set `last_edited_at` to `None` after resetting 1 year ago
QuantumGhost ea67a96d81 Merge remote-tracking branch 'upstream/main' into feat/variable-pool-rebased 1 year ago
QuantumGhost 9a26211cbf feat(api): implement conversation variable reset api. 1 year ago
QuantumGhost c604659287 feat(api): Update variable handling for `VariableAssigner` nodes
- Put updated variables data in `process_data`
- Use structured object to describe updated variables.
1 year ago
QuantumGhost 77ec5f3f68 chore(api): fix mypy typing issues, remove debugging code 1 year ago
QuantumGhost 72561300ec feat(api): Prefill conversation variables in draft workflow and update related services 1 year ago
QuantumGhost 43cae8fc0b fix(api): update `last_edited_at` when updating a draft variable 1 year ago
QuantumGhost 61840f64b3 feat(api): Add `fallback_variables` support for DraftVarLoader. 1 year ago
Ganondorf 51f64797cd
Add APIs for Knowledge Base Tag Management and Dataset Binding (#20023)
Co-authored-by: lizb <lizb@sugon.com>
1 year ago
Dongyu Li 1ea4459d9f
update knowledge base api (#20426) 1 year ago
yihong 5a991295e0
fix: drop some type fixme (#20344) 1 year ago
-LAN- f7fb10635f
refactor(workflow): Rename workflow node execution models (#20458)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- 482e50aae9
Refactor/remove db from cycle manager (#20455)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
QuantumGhost 6df77c7ae2 feat(api): add support for conversation input fields in draft node run api 1 year ago
QuantumGhost ae53286bcc feat(api): add support for conversation input fields in draft node run api 1 year ago
QuantumGhost 31fa5baadf feat(api): overhaul draft variable saving logic
add support for many node types
1 year ago
QuantumGhost 701d659f54 fix(api): Fix input variable handling for `Start` node. 1 year ago
QuantumGhost ed4b072467 feat(api): Implement VariableLoader in `DraftVarLoader`.
Use DraftVarLoader to load required variables when single stepping a
node.
1 year ago
QuantumGhost 325b737f09 fix(api): Fix incorrect variable name for sys var. 1 year ago
QuantumGhost 1fbeb8d9bf feat(api): Save output variables as draft variables in single stepping 1 year ago
QuantumGhost 254324cd6c feat(api): Save output variables as draft variables in single stepping 1 year ago
QuantumGhost 9650ade7fb feat(api): Implement WorkflowDraftService 1 year ago
QuantumGhost 0d5a0a4b24 feat(api): add an API to retrieve the last execution of a given node. 1 year ago
Mio Inamijima 0ebaba98f0
fix: dataset permission check for partial team members (#19249) (#20242)
Co-authored-by: MioINAMIJIMA <m.inamijima@optimaize-consulting.com>
1 year ago
Good Wood 756f35f480
feat: add pagination for plugin page (#20151) 1 year ago
GonzaHM 38b1e46241
fix: correct indentation in dataset retrieval model assignment (#20040) 1 year ago
-LAN- 57bcb616bc
fix(sqlalchemy_workflow_node_execution_repository): Missing `triggered_from` while querying WorkflowNodeExecution (#20044)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- 3196dc2d61
refactor: Use typed SQLAlchemy base model and fix type errors (#19980)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
crazywoola d35d854259
Revert "fix: fix duplicate app lose custom image" (#19995) 1 year ago
CorrectRoad 618981f1ae
fix: fix duplicate app lose custom image (#19775) 1 year ago
NFish d186daa131
E-300 (#19726)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Hash Brown <hi@xzd.me>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: GareArc <chen4851@purdue.edu>
Co-authored-by: Byron.wang <byron@dify.ai>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
Co-authored-by: KVOJJJin <jzongcode@gmail.com>
Co-authored-by: Alexi.F <654973939@qq.com>
Co-authored-by: Xiyuan Chen <52963600+GareArc@users.noreply.github.com>
Co-authored-by: kautsar_masuara <61046989+izon-masuara@users.noreply.github.com>
Co-authored-by: achmad-kautsar <achmad.kautsar@insignia.co.id>
Co-authored-by: Xin Zhang <sjhpzx@gmail.com>
Co-authored-by: kelvintsim <83445753+kelvintsim@users.noreply.github.com>
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Zixuan Cheng <61724187+Theysua@users.noreply.github.com>
1 year ago
heyszt 11146b6bae
fix create_tracing_app_config error (#19884) 1 year ago
-LAN- 7d0106b220
fix: correct type mismatch in WorkflowService node execution handling (#19846)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago