Commit Graph

3724 Commits (80569ce29fc659dd7e9ba03321c00cdb98259375)

Author SHA1 Message Date
QuantumGhost 80569ce29f Merge remote-tracking branch 'upstream/main' into feat/variable-pool-rebased 1 year ago
QuantumGhost 930c4cb609
feat(api): Adjust `WorkflowDraftVariable` and `WorkflowNodeExecutionModel` (#20746)
- Add `node_execution_id` column to `WorkflowDraftVariable`, allowing efficient implementation of 
  the "Reset to last run value" feature.
- Add additional index for `WorkflowNodeExecutionModel` to improve the performance of last run lookup.

Closes #20745.
1 year ago
QuantumGhost 724e6a1d80 WIP: node var reset. 1 year ago
jefferyvvv 37c3283450
fix: opensearch vector search falls back to keyword search (#20723)
Co-authored-by: wenjun.gu <wenjun.gu@envision-energy.com>
1 year ago
Bowen Liang c1a13fa553
chore: replace pseudo-random generators with secrets module (#20616) 1 year ago
jefferyvvv 4271602cfc
fix: opensearch metadata filtering returns empty (#20701)
Co-authored-by: wenjun.gu <wenjun.gu@envision-energy.com>
Co-authored-by: crazywoola <427733928@qq.com>
1 year ago
Bowen Liang 4f14d7c0ca
chore: bump uv to 0.7.x (#20692) 1 year ago
Yeuoly 38554c5f3e
fix(inner_api/plugin/wraps): refresh user model after creation in get user function (#20704) 1 year ago
jefferyvvv 138ad6e8b3
fix: opensearch fulltext search with metadata filtering dsl error (#20702)
Co-authored-by: wenjun.gu <wenjun.gu@envision-energy.com>
1 year ago
湛露先生 f76f70f0b6
Fix builtin_providers for tools. (#20697)
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
1 year ago
QuantumGhost d0192a98eb test(api): add tests for file variable serialization logic. 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
QuantumGhost 46a2476185 refactor(api): Inject conv_var_updater_factory into 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
Eric Guo 822298f69d
Fix 500 error (#20614) 1 year ago
Arcaner ad2f25875e
fix(llm_node): update file variable mapping to use vision configs (#20417) 1 year ago
Abdullah AlOsaimi ad8e79c440
assign dataset indexing_technique to args if not explicitly provided (#20597) 1 year ago
QuantumGhost 83cd796b4d feat(api): regenerate the url signature when serializing File object. 1 year ago
QuantumGhost 222087e3be feat(api): cache the deserialized value for `get_value` 1 year ago
QuantumGhost fd208c4035 docs(api): add note to avoid using `handle_special_values` in new code 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 e8de080add fix(api): fix incorrect adjust to Extensible
`__file__` records the path of the `Extensible` class, not the receiver class
of `scan_extensions` method.

This commit fixes this by switching to `inspect.getfile`.
1 year ago
QuantumGhost 312601e964 feat(api): implement flies handling for `DraftWorkflowNodeRunApi`
Add TODOs to existing file parsing logic.
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
-LAN- 5ccfb1f4ba
refactor: Improve model status handling and structured output (#20586)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
Dongyu Li 92614765ff
Feat/queue monitor (#20647) 1 year ago
QuantumGhost eeab59215a test(api): Add tests for variable codec in WorkflowDraftVariable. 1 year ago
Abdullah AlOsaimi 006496f24e
raise error when process_rule is required but missing (#20599) 1 year ago
kenwoodjw 01d500db14
fix: autocorrect everything in web (#20605)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
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 9dcf410fd2 chore(api): fix mypy violation for `scoped_session`. 1 year ago
QuantumGhost 2db269da95 chore(api): Rename import for `NodeRunMetadataKey`.
`NodeRunMetadataKey` has been renamed to
`WorkflowNodeExecutionMetadataKey`.
1 year ago
QuantumGhost ffa9bc8998 feat(api): set `last_edited_at` to `None` after resetting 1 year ago
QuantumGhost a002b5f000 fix(api): Fix duplicated resource name issue 1 year ago
QuantumGhost 18d681db52 fix(api): Fix the issue that conversation variable saving not working 1 year ago
-LAN- 275e86a26c
refactor: Removes tenant ID check from rate limit logic (#20585)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
非法操作 ca0b268ae5
fix: variable aggregator with group and file raise exception (#20581) 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 a3202356e6 fix(api): correct path retrieval in scan_extensions method
The previous does not work when `cwd` is not `api`, switching to
`__file__` fixes this.
1 year ago
QuantumGhost 03f91daa27 feat(api): implement PydanticModelEncoder for JSON serialization
Use `PydanticModelEncoder` for JSON serialization while persisting
node execution data.
1 year ago
QuantumGhost 77ec5f3f68 chore(api): fix mypy typing issues, remove debugging code 1 year ago
QuantumGhost 9e17eb39e2 chore(api): Fix scoped session typing issue 1 year ago
Bowen Liang 888cd86afd
chore: prepare the plugin daemon base url to yarl URL ahead intstead of in every invocation (#20541) 1 year ago