Commit Graph

6159 Commits (c67a7abbe244cba2f83dbcadfbfee47a897fbecf)
 

Author SHA1 Message Date
NFish 9915a70d7f
Fix/webapp access scope (#20109) 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
非法操作 f2dcfc976d
feat: allow fill inputs from url params (#20630) 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
sayThQ199 4f066454d0
fix(markdown): Ensure abbr: links render correctly in react-markdown v9+ (#20648) 1 year ago
quicksand 7ae5819c67
feat: plugin storage support volcengine tos (#20613) 1 year ago
Bowen Liang 2b0f3edcef
chore: ensure web code consistency by applying `pnpm fix` (#20643) 1 year ago
非法操作 244687c9a7
fix: plugin update redcorner mark display incorrect (#20636) 1 year ago
QuantumGhost eeab59215a test(api): Add tests for variable codec in WorkflowDraftVariable. 1 year ago
Joel d22c351221
chore: fix some security issues in markdown (#20639) 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
GuanMu 6aba223383
fix: adjust sticky header properties in Container component (#20624) 1 year ago
Bowen Liang f1c19cda74
fix: unable to upload custom file in case of incorrect inffered by multiple extensions mapped from mime type with filename extension hints (#20559) 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
sayThQ199 077d627953
fix: ensure newlines around think tags for proper markdown rendering (#20594) 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
crazywoola 25be7c1ad5
Revert "♻️ refactor(middleware): remove duplicate CSP header assignment" (#20592) 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
Muttakin Islam Hasib 157d916154
♻️ refactor(middleware): remove duplicate CSP header assignment (#20548) 1 year ago
Anshuman Saini e40e9db39a
fixes #19634 (#20545) 1 year ago
-LAN- 36f1b4b222
fix: Ensure model config integrity in retrieval processes (#20576)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- 257bf13fef
refactor: Removes unused LLMMode value_of method (#20575)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- 957f5b212e
fix: Upgrade Flask-Cors (#20577)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago