Commit Graph

209 Commits (d1d06ed9fcc02e5dab7d9faa7a609c5080b80428)

Author SHA1 Message Date
QuantumGhost 724e6a1d80 WIP: node var reset. 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 312601e964 feat(api): implement flies handling for `DraftWorkflowNodeRunApi`
Add TODOs to existing file parsing logic.
1 year ago
QuantumGhost ea67a96d81 Merge remote-tracking branch 'upstream/main' into feat/variable-pool-rebased 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
-LAN- 257bf13fef
refactor: Removes unused LLMMode value_of method (#20575)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
QuantumGhost e8ec9112b4 fix(api): Fix the issue that output is not saved ...
when using `Default Value` error handling strategy

refactor draft variable saving logic into a separate method.
1 year ago
QuantumGhost 72561300ec feat(api): Prefill conversation variables in draft workflow and update related services 1 year ago
-LAN- a6ea15e63c
Refactor/message cycle manage and knowledge retrieval (#20460)
Signed-off-by: -LAN- <laipz8200@outlook.com>
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
Novice b2ab401279
chore: remove agent turn limits (#19930) 1 year ago
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
1 year ago
QuantumGhost 5aa044e392 feat(api): implement draft var related api 1 year ago
QuantumGhost c7e6b9ce9c feat(api): save output variables to draft variables while debugging workflow 1 year ago
-LAN- eaaf551497
fix: Instance <Account> is not bound to a Session (#20347)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- f233a64eb5
fix(workflow): fetch user failed when workflow run in parallel mode (#20321)
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
非法操作 acd4b9a8ac
fix: not save workflow_run_id of chatflow message (#20257) 1 year ago
-LAN- 6b3666f826
feat: Split WorkflowCycleManager (#20071)
Signed-off-by: -LAN- <laipz8200@outlook.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
Panpan ef3569e667
feat: support chatflow start node custom input field hidden (#19678) 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- f23cf98317
refactor: Remove RepositoryFactory (#19176)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
QuantumGhost 349c3cf7b8
feat(api): Add image multimodal support for LLMNode (#17372)
Enhance `LLMNode` with multimodal capability, introducing support for
image outputs.

This implementation extracts base64-encoded images from LLM responses,
saves them to the storage service, and records the file metadata in the
`ToolFile` table. In conversations, these images are rendered as
markdown-based inline images.
Additionally, the images are included in the LLMNode's output as
file variables, enabling subsequent nodes in the workflow to utilize them.

To integrate file outputs into workflows, adjustments to the frontend code
are necessary.

For multimodal output functionality, updates to related model configurations
are required. Currently, this capability has been applied exclusively to
Google's Gemini models.

Close #15814.

Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
1 year ago
Kevin9703 94cc0b7a12
fix(workflow_cycle_manage): failed nodes were not updated in workflow_node_executions (#18994) 1 year ago
-LAN- d9aa2b155a
refactor: Refactors repository imports structure (#18901)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- c104febf63
refactor: Apply DI to WorkflowNodeExecutionRepository. (#18794)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
just2gooo 5e2b3b34e5
issue: #17056 : Add a reason field to the message_replace event (#17195)
Co-authored-by: 聂政 <niezheng@pjlab.org.cn>
1 year ago
Ganondorf d242e4b95b
fix agentflow error if first variable is num (#18660)
Co-authored-by: lizb <lizb@sugon.com>
1 year ago
-LAN- 6d9dd3109e
feat: add a abstract layer for WorkflowNodeExcetion (#18026) 1 year ago
Yeuoly 358fd28c28
feat: fetch app info in plugins (#18202) 1 year ago
Arcaner cac0d3c33e
fix: implement robust file type checks to align with existing logic (#17557)
Co-authored-by: Bowen Liang <liangbowen@gf.com.cn>
1 year ago
kenwoodjw 53efb2bad5
fix chat message type error (#17997)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
1 year ago
Good Wood cc08451eb8
fix: fix file number limit error (#17848) 1 year ago
-LAN- d3157b46ee
feat(large_language_model): Adds plugin-based token counting configuration option (#17706)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Yeuoly <admin@srmxy.cn>
1 year ago
非法操作 44f911a0a8
chore: docstring not match the function parameter (#17162) 1 year ago
jiangbo721 a1aa325ce3
Chore/code format and Repair commit_id 3254018d more deleted codes and Fix naming error ambiguity between workflow_run_id and workflow_id (#17075)
Co-authored-by: 刘江波 <jiangbo721@163.com>
1 year ago
Alex 5d77730c78
feat(api): optimize conversation name generation logic in message app (#16917)
Co-authored-by: yuanlong <yuanlong@boco.com.cn>
Co-authored-by: crazywoola <427733928@qq.com>
1 year ago
Yingchun Lai d7e00ae691
feat: Skip Redis operations if RateLimit is disabled (#12226) 1 year ago
jiangbo721 97eadb867c
chore: use ConversationService.get_conversation instead of AgentChatA… (#16136)
Co-authored-by: 刘江波 <jiangbo721@163.com>
1 year ago
Yingchun Lai e428628fcc
enhance: avoid to use transaction Redis commands in rate limiter (#15917)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
1 year ago
Jyong abeaea4f79
Support knowledge metadata filter (#15982) 1 year ago
kurokobo 86d3fff666
fix: respect resolution settings for vision for basic chatbot, text generator, and parameter extractor node (#16041) 1 year ago
Bowen Liang 9e782d4c1e
chore: bump ruff to 0.11.0 and fix linting violations (#15953) 1 year ago
-LAN- 49c952a631
fix: streamline file upload configuration handling in manager.py (#15714)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
Fei He 36ae0e5476
fix: set score_threshold only when score_threshold_enabled is true. (#14221) 1 year ago