116ec9dd04
Read the current implementation and consider the following problem (vibe-kanban 25d8b973)
...
Currently, the HumanInput node yields a `HumanInputFormFilledEvent` event while form is submmited. However, for form level timeout, current no event about timeout is emitted. This makes the frontend UI not updated while the events of time out are sent to the frontend.
Analysis this problem, propose a way to resolve this issue.
2026-01-27 08:46:41 +08:00
33a830cbc9
refactor(api): rename placeholder to default_value in various parts
...
Previously the fields / classes are named with `placeholder`. However,
the actual purpose is to use as default values. This commit addresses
this problem by correcting names for relevant fields / classes.
- FormInputPlaceholder
- FormInput.placeholder
- HumanInputRequiredResponse.resolved_placeholder_values
- HumanInputFormDefinition.resolved_placeholder_values
- FormCreateParams.resolved_placeholder_values
- HumanInputRequired.resolved_placeholder_values
- The `resolved_placeholder_values` argument of _create_human_input_delivery_test_form
- The `resolved_placeholder_values` inside _jsonify_form_definition
2026-01-23 15:05:18 +08:00
05f9ea4220
chore(api): send a ping event immediately for /events api
2026-01-21 16:21:24 +08:00
ef25255bfe
fix(api): close connection for workflow_paused event
...
This only affect new connection, not connections which requests
state snapshots.
2026-01-21 13:48:50 +08:00
70f12ad310
fix(api): preserve the output generated before pausing
2026-01-19 16:43:01 +08:00
33dd9c8ad7
chore(api): fix lint and style issues
2026-01-19 16:22:52 +08:00
2db638b992
Add a configuration for controlling the redis instance / type used for streaming events between celery worker and api (vibe-kanban 08e07904)
...
Currently, the celery worker executing workflows / chatflows uses redis pubsub to publish events to api.
(See \_topic\_msg\_generator and \_publish\_streaming\_response)
The current implementation uses the default redis client.
For large scale deployment, we need to use a dedicated redis cluster to ensure performance.
To achieve this, you should:
1. introduce a dedicated configuration class to control
the redis address used for pubsub. (Ideally, there should only be one configuration item such as `pubsub_redis_url`, and its default value should be the original redis confugration.)
2. Add an option to switch between pubsub and sharded pubsub. When shared pubsub is specified, the ShardedRedisBroadcastChannel should be used instead.
COmplete the task above, add some unit tests.
2026-01-19 07:40:44 +08:00
afdf2397f2
Change the is_resumption field in WorkflowStarted event into reason (vibe-kanban 19ac040e)
...
Reason should be an enumeration with only one member `resumption` currently.
Please update these part of events:
- Graph / Engine Event (GraphRunStartedEvent)
- Queue event (QueueWorkflowStartedEvent)
- SSE response event (WorkflowStartStreamResponse)
Besides, you should remove the `is_resumption` flag for `node_started` events; including:
- Queue Event (`QueueNodeStartedEvent`)
- SSE Event (`NodeStartStreamResponse`)
- Node event (`NodeRunStartedEvent`)
After finishing the changes above, adjust related tests.
You should run the affected tests and ensure they can pass. (You should use `uv run pytest` to run tests)
2026-01-18 21:00:25 +08:00
8e0e5d2974
feat(api): send ping while the connection is idle
...
To keep the connection alive and avoid being closed.
2026-01-14 10:25:13 +08:00
f988619d2c
feat(api): adjust model fields and cleanup form creation logic
2026-01-08 10:27:52 +08:00
de428bc9bb
feat(api): add human input data to extra contents
2026-01-08 10:21:53 +08:00
3c79bea28f
fix(api): fix race condition between workflow execution and SSE subscription
2026-01-07 09:45:12 +08:00
001d2c5062
fix(api): fix invoke_from for workflow is not properly set
2026-01-06 17:19:53 +08:00
24362ce59e
feat(api): add node_title to HumanInputFormFilled events
2026-01-06 16:48:31 +08:00
184f7ab144
WIP: feat(api): always use form_token to submit human input form
2026-01-06 08:53:24 +08:00
3ab1ad6530
WIP: feat(api): Implement HumanInputFormFilled event
2026-01-04 10:25:00 +08:00
6337a9a125
WIP: feat(api): add is_resumption to node_started and workflow_started events
2026-01-04 01:10:50 +08:00
f4642f85b7
fix(api): expose resolved_placeholder_values in HUMAN_INPUT_REQUIRED event
2025-12-31 11:29:04 +08:00
37dd61558c
feat(api): Implement HITL for Workflow, add is_resumption for start event
2025-12-30 16:40:08 +08:00
5d0dd329f2
WIP: human input timeout
2025-12-26 12:34:46 +08:00
203a3a68af
WIP: huamninput email sending
2025-12-26 12:34:46 +08:00
08175ab32a
feat: support variable resolution, fix linting
2025-12-26 12:34:26 +08:00
dddcf1de6c
WIP: api debugging
2025-12-26 12:33:30 +08:00
c0f1aeddbe
WIP: resume
2025-12-26 11:52:49 +08:00
43348ce1a6
WIP: P4
2025-12-26 11:39:28 +08:00
4f48b8a57d
WIP: P2
2025-12-26 11:36:19 +08:00
8b914d9116
WIP
2025-12-26 10:45:23 +08:00
542eb04ad8
fix: preserve empty list for FILE_LIST type in base_app_generator ( #29618 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-12-22 21:32:07 +08:00
dd237f129d
fix: fix json object validate ( #29840 )
2025-12-18 14:46:00 +08:00
2e1efd62e1
revert: "fix(ops): add streaming metrics and LLM span for agent-chat traces" ( #29469 )
2025-12-11 12:53:37 +08:00
9affc546c6
Feat/support multimodal embedding ( #29115 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-09 14:41:46 +08:00
10b59cd6ba
add service layer OTel Span ( #28582 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-05 21:58:32 +08:00
a849411978
fix: treat empty default values for optional file inputs as unset ( #28948 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-05 11:16:18 +08:00
102ee7ae13
perf: optimize generate conversation name ( #29131 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-05 10:32:53 +08:00
cc6c59b27a
fix: fix db session already begin ( #29160 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-05 09:39:39 +08:00
e904c65a9d
perf: decrease heavy db operation ( #29125 )
2025-12-04 16:09:47 +08:00
03357ff1ec
fix: catch error in response converter ( #29056 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-04 11:25:16 +08:00
1b733abe82
feat: creates logs immediately when workflows start (not at completion) ( #28701 )
2025-11-27 15:22:33 +08:00
1e23957657
fix(ops): add streaming metrics and LLM span for agent-chat traces ( #28320 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-11-26 22:45:20 +08:00
abc13ef762
Feat/web workflow improvements ( #27981 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
Co-authored-by: johnny0120 <johnny0120@users.noreply.github.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Wood <tuiskuwood@outlook.com >
2025-11-25 19:54:40 +08:00
3841e8578f
fix: use default values for optional workflow input variables ( #28546 ) ( #28527 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-11-24 10:08:26 +08:00
a6c6bcf95c
more typed orm ( #28507 )
2025-11-21 21:45:51 +08:00
237bb4595b
more typed orm ( #28494 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-21 16:42:27 +09:00
012877d8d4
fix: address user input preparation in workflow app generator ( #28410 )
...
Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com >
2025-11-20 02:09:40 +08:00
b76e17b25d
feat: introduce trigger functionality ( #27644 )
...
Signed-off-by: lyzno1 <yuanyouhuilyz@gmail.com >
Co-authored-by: Stream <Stream_2@qq.com >
Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com >
Co-authored-by: zhsama <torvalds@linux.do >
Co-authored-by: Harry <xh001x@hotmail.com >
Co-authored-by: lyzno1 <yuanyouhuilyz@gmail.com >
Co-authored-by: yessenia <yessenia.contact@gmail.com >
Co-authored-by: hjlarry <hjlarry@163.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: WTW0313 <twwu@dify.ai >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-12 17:59:37 +08:00
37903722fe
refactor: implement tenant self queue for rag tasks ( #27559 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com >
2025-11-06 21:25:50 +08:00
c8e9edc024
refactor(api): set default value for EasyUIBasedAppGenerateEntity.query ( #27712 )
2025-11-04 10:22:43 +08:00
2abbc14703
refactor: replace hardcoded user plan strings with CloudPlan enum ( #27675 )
2025-11-03 11:51:09 +08:00
a1c0bd7a1c
feat(api): Introduce workflow pause state management ( #27298 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-30 14:41:09 +08:00
1e9142c213
feat: enhance tencent trace integration with LLM core metrics ( #27126 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-10-29 15:53:30 +08:00