Commit Graph

365 Commits (c67a7abbe244cba2f83dbcadfbfee47a897fbecf)

Author SHA1 Message Date
QuantumGhost c67a7abbe2 Merge remote-tracking branch 'upstream/main' into feat/variable-pool-rebased 1 year ago
LiuBo 17fe62cf91
feat: add support for Matrixone database (#20714) 1 year ago
He Wang 37f26c412f
add healthcheck to oceanbase container (#20989) 1 year ago
-LAN- 0dcacdf83d
feat: add a flask_context_manager. (#21061)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
Bowen Liang 366ddb05ae
test: run vdb test of oceanbase with docker compose in CI tests (#20945) 1 year ago
QuantumGhost 3ec390f6aa test(api): add tests for variable_factories
- add some tests for `build_segment`
- add tests for `build_segment_with_type`.
1 year ago
QuantumGhost 658e344e14 test(api): add som test cases for build_segment 1 year ago
QuantumGhost e06de5d4aa refactor(api): move tests for variable factory to correspond location
Move those tests to test/unit_tests/core/variables, keep the structure
in consistent with package structure.
1 year ago
QuantumGhost 719986f763 test(api): add tests for variable resetting logics 1 year ago
QuantumGhost 56ff5d0e8b feat(api): add a utility function to retrieve naive datetime in UTC timezone 1 year ago
QuantumGhost c5edfdc972 Merge remote-tracking branch 'upstream/main' into feat/variable-pool-rebased 1 year ago
QuantumGhost c439e82038
refactor(api): Decouple `ParameterExtractorNode` from `LLMNode` (#20843)
- Extract methods used by `ParameterExtractorNode` from `LLMNode` into a separate file.
- Convert `ParameterExtractorNode` into a subclass of `BaseNode`.
- Refactor code referencing the extracted methods to ensure functionality and clarity.
- Fixes the issue that `ParameterExtractorNode` returns error when executed.
- Fix relevant test cases.

Closes #20840.
1 year ago
QuantumGhost 11b1077c8a test(api): fix broken tests 1 year ago
QuantumGhost 80569ce29f Merge remote-tracking branch 'upstream/main' into feat/variable-pool-rebased 1 year ago
Bowen Liang c1a13fa553
chore: replace pseudo-random generators with secrets module (#20616) 1 year ago
QuantumGhost 8c685a86bd test(api): Fix broken tests 1 year ago
QuantumGhost 7e402abefd fix(api): `set_value` should also update the cache
add relevant tests for `get_value` and `set_value` methods
1 year ago
QuantumGhost cb34008559 test(api): fix tests for v1.VariableAssignerNode 1 year ago
HaiyangP 3fb9b41fe5
A more concise and effective extractor for excel and csv files (#20625)
Co-authored-by: haiyangpengai <xxxx>
1 year ago
-LAN- 5ccfb1f4ba
refactor: Improve model status handling and structured output (#20586)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
QuantumGhost eeab59215a test(api): Add tests for variable codec in WorkflowDraftVariable. 1 year ago
QuantumGhost 9c0bbb2d2d fix(api): Fix _should_variable_be_visible, removed unused tests 1 year ago
QuantumGhost 9dcf410fd2 chore(api): fix mypy violation for `scoped_session`. 1 year ago
QuantumGhost ea67a96d81 Merge remote-tracking branch 'upstream/main' into feat/variable-pool-rebased 1 year ago
-LAN- db488bef51
refactor(api/core/workflow/enums): Rename WORKFLOW_RUN_ID to WORKFLOW_EXECUTION_ID (#20459)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- f7fb10635f
refactor(workflow): Rename workflow node execution models (#20458)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- 32e779eef3
refactor(workflow): Rename NodeRunMetadataKey to WorkflowNodeExecutionMetadataKey (#20457)
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
-LAN- cd0a05f114
tests: Removes outdated marketplace download test (#20454)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
QuantumGhost c1313dd914 test(api): add tests for `VariablePool` construction 1 year ago
QuantumGhost c730f0fcf2 test(api): Add some tests for DraftVariable related code 1 year ago
QuantumGhost 5aa044e392 feat(api): implement draft var related api 1 year ago
teawoong Kim 400ae664bb
fix(http): force multipart/form-data even without files(#20322) (#20323) 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
-LAN- 9c9d3d7bd0
feat: document extractor chardet encoding (#20269)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- b357eca307
fix: Copy request context and current user in app generators. (#20240)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
Heyang Wang b9b5d43dc6
fix: add 'floatfmt' when extract number from excel ( #20153 ) (#20193)
Co-authored-by: wangheyang <wangheyang@corp.netease.com>
Co-authored-by: crazywoola <427733928@qq.com>
1 year ago
-LAN- d31235ca13
feat: Introduce WorkflowExecution Domain Entity and Repository, Replace WorkflowRun Direct Usage, and Unify Stream Response Logic (#20067)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
QuantumGhost 13dc1c8795
Simplify `execution_metadata` Handling for `WorkflowNodeExecution` (#20062)
Currently, `WorkflowNodeExecution.execution_metadata_dict` returns `None` when metadata is absent in the database. This requires all callers to perform `None` checks when processing metadata, leading to more complex caller-side logic.

This pull request updates the `execution_metadata_dict` method to return an empty dictionary instead of `None` when metadata is absent. This change would simplify the caller logic, as it removes the need for explicit `None` checks and provides a more consistent data structure to work with.
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
Zihe JI 87f9d11d65
fix: ensure Decimal values in metadata are JSON serializable (fixes #19936) (#19955)
Co-authored-by: crazywoola <427733928@qq.com>
1 year ago
QuantumGhost 6a9e0b1005
feat(api): Introduce `WorkflowDraftVariable` Model (#19737)
- Introduce `WorkflowDraftVariable` model and the corresponding migration.
- Implement `EnumText`,  a custom column type for SQLAlchemy designed
  to work seamlessly with enumeration classes based on `StrEnum`.
1 year ago
Hashcon 6a74c97a0a
feat: add debug log for request and response (#19781) (#19783)
Co-authored-by: hashjang <hash@geek.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
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
-LAN- 4977bb21ec
feat(workflow): domain model for workflow node execution (#19430)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 year ago
-LAN- 0fed5c1193
fix(config): Allow DB_EXTRAS to set search_path via options (#19560)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- 56cff485d0
test(vdb/huaweicloudvectordb): Fix the wrong import path (#19413)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- b4064fa092
test(test_dify_config): Update test to use example environment file (#19427)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- f23cf98317
refactor: Remove RepositoryFactory (#19176)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
Novice 0cfc82d731
fix(structured-output): reasoning model's json format parsing (#19261) 1 year ago