Yeuoly
d018ef9033
apply autofix to autofix CI
2025-10-30 17:11:49 +08:00
autofix-ci[bot] and GitHub
eb3b5f751a
[autofix.ci] apply automated fixes
2025-10-30 09:08:11 +00:00
Yeuoly
f02d575379
Merge branch 'main' into feat/trigger
2025-10-21 11:09:26 +08:00
Guangdong Liu and GitHub
1b334e6966
fix: handle None values in dataset and document deletion logic ( #27083 )
2025-10-20 12:52:48 +08:00
Yeuoly
fb8ecf7b5a
refactor: move out enums to specific file
2025-10-18 20:22:21 +08:00
Yeuoly
5fba41688a
refactor: cleaning up terrible data
2025-10-18 20:12:20 +08:00
lyzno1
3865555113
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-10-16 18:30:33 +08:00
cced33d068
use deco to avoid current_user ( #26077 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-16 15:45:51 +09:00
Harry
06c91fbcbd
refactor(trigger): Unify the Trigger Debug interface and event handling and enhance error management
...
- Updated `DraftWorkflowTriggerNodeApi` to utilize the new `TriggerDebugEvent` and `TriggerDebugEventPoller` for improved event polling.
- Removed deprecated `poll_debug_event` methods from `TriggerService`, `ScheduleService`, and `WebhookService`, consolidating functionality into the new event structure.
- Enhanced error handling in `invoke_trigger_event` to utilize `TriggerPluginInvokeError` for better clarity on invocation issues.
- Updated frontend API routes to reflect changes in trigger event handling, ensuring consistency across the application.
2025-10-15 14:41:53 +08:00
lyzno1
b20f61356c
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-10-15 09:53:03 +08:00
0b35bc1ede
feat: add Tencent Cloud APM tracing integration ( #25657 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <[email protected] >
2025-10-14 10:21:17 +08:00
lyzno1
c7d0a7be04
feat(trigger): enable triggers by default after workflow publish
2025-10-13 19:59:39 +08:00
lyzno1
f3b415c095
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-10-13 13:21:51 +08:00
1bd621f819
remove .value ( #26633 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-11 09:08:29 +08:00
lyzno1
bae8e44b32
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-10-10 19:43:23 +08:00
ab2eacb6c1
use model_validate ( #26182 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <[email protected] >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <[email protected] >
2025-10-10 17:30:13 +09:00
hjlarry
d9faa1329a
move workflow_plugin_trigger_service to trigger sub dir
2025-10-02 00:31:33 +08:00
hjlarry
f96bd4eb18
move schedule service to trigger sub dir
2025-10-02 00:24:32 +08:00
hjlarry
a4109088c9
move webhook service to trigger sub dir
2025-10-02 00:18:37 +08:00
yessenia
cd07eef639
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-09-25 17:14:24 +08:00
+10
85cda47c70
feat: knowledge pipeline ( #25360 )
...
Signed-off-by: -LAN- <[email protected] >
Co-authored-by: twwu <[email protected] >
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: jyong <[email protected] >
Co-authored-by: Wu Tianwei <[email protected] >
Co-authored-by: QuantumGhost <[email protected] >
Co-authored-by: lyzno1 <[email protected] >
Co-authored-by: quicksand <[email protected] >
Co-authored-by: Jyong <[email protected] >
Co-authored-by: lyzno1 <[email protected] >
Co-authored-by: zxhlyh <[email protected] >
Co-authored-by: Yongtao Huang <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Joel <[email protected] >
Co-authored-by: Copilot <[email protected] >
Co-authored-by: nite-knite <[email protected] >
Co-authored-by: Hanqing Zhao <[email protected] >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Harry <[email protected] >
2025-09-18 12:49:10 +08:00
Harry
6857bb4406
feat(trigger): implement plugin trigger synchronization and subscription management in workflow
...
- Added a new event handler for syncing plugin trigger relationships when a draft workflow is synced, ensuring that the database reflects the current state of plugin triggers.
- Introduced subscription management features in the frontend, allowing users to select, add, and remove subscriptions for trigger plugins.
- Updated various components to support subscription handling, including the addition of new UI elements for subscription selection and removal.
- Enhanced internationalization support by adding new translation keys related to subscription management.
These changes improve the overall functionality and user experience of trigger plugins within workflows.
2025-09-15 15:49:07 +08:00
bab4975809
chore: add ast-grep rule to convert Optional[T] to T | None ( #25560 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-15 13:06:33 +08:00
Yeuoly and Claude
9898730cc5
feat: add webhook node limit validation (max 5 per workflow)
...
- Add MAX_WEBHOOK_NODES_PER_WORKFLOW constant set to 5
- Validate webhook node count in sync_webhook_relationships method
- Raise ValueError when workflow exceeds webhook node limit
- Block workflow save when limit is exceeded to ensure data integrity
- Provide clear error message indicating current count and maximum allowed
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <[email protected] >
2025-09-10 17:22:09 +08:00
Yeuoly and Claude
b0f1e55a87
refactor: remove triggered_by field from webhook triggers and use automatic sync
...
- Remove triggered_by field from WorkflowWebhookTrigger model
- Replace manual webhook creation/deletion APIs with automatic sync via WebhookService
- Keep only GET API for retrieving webhook information
- Use same webhook ID for both debug and production environments (differentiated by endpoint)
- Add sync_webhook_relationships to automatically manage webhook lifecycle
- Update tests to remove triggered_by references
- Clean up unused imports and fix type checking issues
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <[email protected] >
2025-09-10 17:17:19 +08:00
4a743e6dc1
feat: add workflow schedule trigger support ( #24428 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-10 13:24:23 +08:00
cbc0e639e4
update sql in batch ( #24801 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <[email protected] >
2025-09-10 13:00:17 +08:00
lyzno1 and GitHub
e2827e475d
feat: implement trigger-plugin support with real-time status sync ( #25326 )
2025-09-07 21:29:53 +08:00
a78339a040
remove bare list, dict, Sequence, None, Any ( #25058 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <[email protected] >
2025-09-06 03:32:23 +08:00
-LAN- and GitHub
9d5956cef8
[Chore/Refactor] Switch from MyPy to Basedpyright for type checking ( #25047 )
...
Signed-off-by: -LAN- <[email protected] >
2025-09-03 11:52:26 +08:00
Novice and GitHub
ca96350707
chore: optimize SQL queries that perform partial full table scans ( #24786 )
2025-09-02 11:46:11 +08:00
非法操作 and GitHub
89ad6ad902
feat: add app trigger list api ( #24693 )
2025-08-28 15:23:08 +08:00
+40
5bbf685035
feat: fix i18n missing keys and merge upstream/main ( #24615 )
...
Signed-off-by: -LAN- <[email protected] >
Signed-off-by: kenwoodjw <[email protected] >
Signed-off-by: Yongtao Huang <[email protected] >
Signed-off-by: yihong0618 <[email protected] >
Signed-off-by: zhanluxianshen <[email protected] >
Co-authored-by: -LAN- <[email protected] >
Co-authored-by: GuanMu <[email protected] >
Co-authored-by: Davide Delbianco <[email protected] >
Co-authored-by: NeatGuyCoding <[email protected] >
Co-authored-by: kenwoodjw <[email protected] >
Co-authored-by: Yongtao Huang <[email protected] >
Co-authored-by: Yongtao Huang <[email protected] >
Co-authored-by: Qiang Lee <[email protected] >
Co-authored-by: 李强04 <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <[email protected] >
Co-authored-by: Matri Qi <[email protected] >
Co-authored-by: huayaoyue6 <[email protected] >
Co-authored-by: Bowen Liang <[email protected] >
Co-authored-by: znn <[email protected] >
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: Copilot <[email protected] >
Co-authored-by: yihong <[email protected] >
Co-authored-by: Muke Wang <[email protected] >
Co-authored-by: wangmuke <[email protected] >
Co-authored-by: Wu Tianwei <[email protected] >
Co-authored-by: quicksand <[email protected] >
Co-authored-by: 非法操作 <[email protected] >
Co-authored-by: zxhlyh <[email protected] >
Co-authored-by: Eric Guo <[email protected] >
Co-authored-by: Zhedong Cen <[email protected] >
Co-authored-by: jiangbo721 <[email protected] >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: hjlarry <[email protected] >
Co-authored-by: lxsummer <[email protected] >
Co-authored-by: 湛露先生 <[email protected] >
Co-authored-by: Guangdong Liu <[email protected] >
Co-authored-by: QuantumGhost <[email protected] >
Co-authored-by: Claude <[email protected] >
Co-authored-by: Yessenia-d <[email protected] >
Co-authored-by: huangzhuo1949 <[email protected] >
Co-authored-by: huangzhuo <[email protected] >
Co-authored-by: 17hz <[email protected] >
Co-authored-by: Amy <[email protected] >
Co-authored-by: Joel <[email protected] >
Co-authored-by: Nite Knite <[email protected] >
Co-authored-by: Yeuoly <[email protected] >
Co-authored-by: Petrus Han <[email protected] >
Co-authored-by: iamjoel <[email protected] >
Co-authored-by: Kalo Chin <[email protected] >
Co-authored-by: Ujjwal Maurya <[email protected] >
Co-authored-by: Maries <[email protected] >
2025-08-27 15:07:28 +08:00
Asuka Minato and GitHub
d4dba373cb
add missing ( #24584 )
2025-08-27 10:22:24 +08:00
fa753239ad
Refactor: use logger = logging.getLogger(__name__) in logging ( #24515 )
...
Co-authored-by: Yongtao Huang <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <[email protected] >
2025-08-26 18:10:31 +08:00
QuantumGhost and GitHub
410fe7293f
opt(api): optimize update contention on the providers table ( #24520 )
2025-08-26 11:41:38 +08:00
Bowen Liang and GitHub
d8000251ff
chore: apply static type checks on celery async task dispatches and imports ( #24418 )
2025-08-24 23:07:22 +08:00
-LAN- and GitHub
ad2c541163
Fix missing database commit in provider update handler ( #24357 )
2025-08-22 21:56:36 +08:00
Guangdong Liu and GitHub
1abf1240b2
refactor: replace try-except blocks with contextlib.suppress for cleaner exception handling ( #24284 )
2025-08-21 18:18:49 +08:00
32fa817eaa
Update mypy.ini ( #24014 )
...
Co-authored-by: Yongtao Huang <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-16 19:29:19 +08:00
Asuka Minato and GitHub
a189d293f8
make logging not use f-str, change others to f-str ( #22882 )
2025-07-25 10:32:48 +08:00
ef51678c73
orm filter -> where ( #22801 )
...
Signed-off-by: -LAN- <[email protected] >
Co-authored-by: -LAN- <[email protected] >
Co-authored-by: Claude <[email protected] >
2025-07-24 00:57:45 +08:00
Aryan Raj and GitHub
ce794335e9
Fix/replace datetime patterns with naive utc now ( #22654 )
2025-07-20 11:05:53 +08:00
a4ef900916
Support OAuth Integration for Plugin Tools ( #22550 )
...
Co-authored-by: zxhlyh <[email protected] >
Co-authored-by: Yeuoly <[email protected] >
2025-07-17 17:18:44 +08:00
-LAN- and GitHub
3acaa59885
fix(update_provider_when_message_created): Fix db transaction ( #21503 )
...
Signed-off-by: -LAN- <[email protected] >
2025-06-25 17:23:45 +08:00
-LAN- and GitHub
8f15341f1e
fix(event_handlers): DB dead lock ( #21468 )
...
Signed-off-by: -LAN- <[email protected] >
2025-06-25 16:20:37 +08:00
Yongtao Huang and GitHub
5d72003ebb
Remove dead code ( #17899 )
2025-04-11 20:33:52 +08:00
-LAN- and GitHub
7a71498a3e
chore(quota): Update deduct quota ( #14337 )
...
Signed-off-by: -LAN- <[email protected] >
2025-02-25 20:10:08 +08:00
+110
403e2d58b9
Introduce Plugins ( #13836 )
...
Signed-off-by: yihong0618 <[email protected] >
Signed-off-by: -LAN- <[email protected] >
Signed-off-by: xhe <[email protected] >
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: takatost <[email protected] >
Co-authored-by: kurokobo <[email protected] >
Co-authored-by: Novice Lee <[email protected] >
Co-authored-by: zxhlyh <[email protected] >
Co-authored-by: AkaraChen <[email protected] >
Co-authored-by: Yi <[email protected] >
Co-authored-by: Joel <[email protected] >
Co-authored-by: JzoNg <[email protected] >
Co-authored-by: twwu <[email protected] >
Co-authored-by: Hiroshi Fujita <[email protected] >
Co-authored-by: AkaraChen <[email protected] >
Co-authored-by: NFish <[email protected] >
Co-authored-by: Wu Tianwei <[email protected] >
Co-authored-by: 非法操作 <[email protected] >
Co-authored-by: Novice <[email protected] >
Co-authored-by: Hiroki Nagai <[email protected] >
Co-authored-by: Gen Sato <[email protected] >
Co-authored-by: eux <[email protected] >
Co-authored-by: huangzhuo1949 <[email protected] >
Co-authored-by: huangzhuo <[email protected] >
Co-authored-by: lotsik <[email protected] >
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: nite-knite <[email protected] >
Co-authored-by: Jyong <[email protected] >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: gakkiyomi <[email protected] >
Co-authored-by: CN-P5 <[email protected] >
Co-authored-by: CN-P5 <[email protected] >
Co-authored-by: Chuehnone <[email protected] >
Co-authored-by: yihong <[email protected] >
Co-authored-by: Kevin9703 <[email protected] >
Co-authored-by: -LAN- <[email protected] >
Co-authored-by: Boris Feld <[email protected] >
Co-authored-by: mbo <[email protected] >
Co-authored-by: mabo <[email protected] >
Co-authored-by: Warren Chen <[email protected] >
Co-authored-by: JzoNgKVO <[email protected] >
Co-authored-by: jiandanfeng <[email protected] >
Co-authored-by: zhu-an <[email protected] >
Co-authored-by: zhaoqingyu.1075 <[email protected] >
Co-authored-by: 海狸大師 <[email protected] >
Co-authored-by: Xu Song <[email protected] >
Co-authored-by: rayshaw001 <[email protected] >
Co-authored-by: Ding Jiatong <[email protected] >
Co-authored-by: Bowen Liang <[email protected] >
Co-authored-by: JasonVV <[email protected] >
Co-authored-by: le0zh <[email protected] >
Co-authored-by: zhuxinliang <[email protected] >
Co-authored-by: k-zaku <[email protected] >
Co-authored-by: luckylhb90 <[email protected] >
Co-authored-by: hobo.l <[email protected] >
Co-authored-by: jiangbo721 <[email protected] >
Co-authored-by: 刘江波 <[email protected] >
Co-authored-by: Shun Miyazawa <[email protected] >
Co-authored-by: EricPan <[email protected] >
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: sino <[email protected] >
Co-authored-by: Jhvcc <[email protected] >
Co-authored-by: lowell <[email protected] >
Co-authored-by: Boris Polonsky <[email protected] >
Co-authored-by: Ademílson Tonato <[email protected] >
Co-authored-by: Ademílson Tonato <[email protected] >
Co-authored-by: IWAI, Masaharu <[email protected] >
Co-authored-by: Yueh-Po Peng (Yabi) <[email protected] >
Co-authored-by: Jason <[email protected] >
Co-authored-by: Xin Zhang <[email protected] >
Co-authored-by: yjc980121 <[email protected] >
Co-authored-by: heyszt <[email protected] >
Co-authored-by: Abdullah AlOsaimi <[email protected] >
Co-authored-by: Abdullah AlOsaimi <[email protected] >
Co-authored-by: Yingchun Lai <[email protected] >
Co-authored-by: Hash Brown <[email protected] >
Co-authored-by: zuodongxu <[email protected] >
Co-authored-by: Masashi Tomooka <[email protected] >
Co-authored-by: aplio <[email protected] >
Co-authored-by: Obada Khalili <[email protected] >
Co-authored-by: Nam Vu <[email protected] >
Co-authored-by: Kei YAMAZAKI <[email protected] >
Co-authored-by: TechnoHouse <[email protected] >
Co-authored-by: Riddhimaan-Senapati <[email protected] >
Co-authored-by: MaFee921 <[email protected] >
Co-authored-by: te-chan <[email protected] >
Co-authored-by: HQidea <[email protected] >
Co-authored-by: Joshbly <[email protected] >
Co-authored-by: xhe <[email protected] >
Co-authored-by: weiwenyan-dev <[email protected] >
Co-authored-by: ex_wenyan.wei <[email protected] >
Co-authored-by: engchina <[email protected] >
Co-authored-by: engchina <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 呆萌闷油瓶 <[email protected] >
Co-authored-by: Kemal <[email protected] >
Co-authored-by: Lazy_Frog <[email protected] >
Co-authored-by: Yi Xiao <[email protected] >
Co-authored-by: Steven sun <[email protected] >
Co-authored-by: steven <[email protected] >
Co-authored-by: Kalo Chin <[email protected] >
Co-authored-by: Katy Tao <[email protected] >
Co-authored-by: depy <[email protected] >
Co-authored-by: 胡春东 <[email protected] >
Co-authored-by: Junjie.M <[email protected] >
Co-authored-by: MuYu <[email protected] >
Co-authored-by: Naoki Takashima <[email protected] >
Co-authored-by: Summer-Gu <[email protected] >
Co-authored-by: Fei He <[email protected] >
Co-authored-by: ybalbert001 <[email protected] >
Co-authored-by: Yuanbo Li <[email protected] >
Co-authored-by: douxc <[email protected] >
Co-authored-by: liuzhenghua <[email protected] >
Co-authored-by: Wu Jiayang <[email protected] >
Co-authored-by: Your Name <[email protected] >
Co-authored-by: kimjion <[email protected] >
Co-authored-by: AugNSo <[email protected] >
Co-authored-by: llinvokerl <[email protected] >
Co-authored-by: liusurong.lsr <[email protected] >
Co-authored-by: Vasu Negi <[email protected] >
Co-authored-by: Hundredwz <[email protected] >
Co-authored-by: Xiyuan Chen <[email protected] >
2025-02-17 17:05:13 +08:00
-LAN- and GitHub
04d13a8116
feat(credits): Allow to configure model-credit mapping ( #13274 )
...
Signed-off-by: -LAN- <[email protected] >
2025-02-07 11:01:31 +08:00