Will
3427f19a01
chore: improved trace info for generating conversation name ( #25118 )
2025-09-04 10:29:12 +08:00
-LAN-
a384ae9140
Fix advanced chat workflow event handler signature mismatch ( #25078 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-03 16:22:13 +08:00
-LAN-
9d5956cef8
[Chore/Refactor] Switch from MyPy to Basedpyright for type checking ( #25047 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-09-03 11:52:26 +08:00
Will
b5216df4fe
fix: xxx is not bound to a Session ( #24966 )
2025-09-02 21:37:06 +08:00
Bowen Liang
7b379e2a61
chore: apply ty checks on api code with script and ci action ( #24653 )
2025-09-02 16:05:13 +08:00
Novice
ca96350707
chore: optimize SQL queries that perform partial full table scans ( #24786 )
2025-09-02 11:46:11 +08:00
Yongtao Huang
be3af1e234
Migrate SQLAlchemy from 1.x to 2.0 with automated and manual adjustments ( #23224 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-02 10:30:19 +08:00
耐小心
acd209a890
fix: prevent database connection leaks in chatflow mode by using Session-managed queries ( #24656 )
...
Co-authored-by: 王锶奇 <wangsiqi2@tal.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-01 18:22:42 +08:00
Asuka Minato
d41d4deaac
example enum to StrEnum ( #24877 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-01 15:40:26 +08:00
耐小心
d5a521eef2
fix: Fix database connection leak in EasyUIBasedGenerateTaskPipeline ( #24815 )
2025-09-01 14:48:56 +08:00
willzhao
ffba341258
[CHORE]: remove redundant-cast ( #24807 )
2025-09-01 14:05:32 +08:00
Asuka Minato
cb04c21141
model_config = ConfigDict(extra='allow') ( #24859 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-31 23:21:41 +08:00
Asuka Minato
9f528d23d4
poc of validate config ( #24837 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-31 02:41:52 +08:00
horochx
0fe078d25e
fix: workflow_finish_to_stream_response assert exception with celery … ( #24674 )
...
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Has been cancelled
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Has been cancelled
Main CI Pipeline / Check Changed Files (push) Has been cancelled
Main CI Pipeline / Style Check (push) Has been cancelled
Check i18n Files and Create PR / check-and-update (push) Has been cancelled
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Has been cancelled
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Has been cancelled
Main CI Pipeline / API Tests (push) Has been cancelled
Main CI Pipeline / Web Tests (push) Has been cancelled
Main CI Pipeline / VDB Tests (push) Has been cancelled
Main CI Pipeline / DB Migration Test (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-30 00:59:21 +08:00
QIN2DIM
929d9e0b3f
feat(api): maintain assistant content parts and file handling in advanced chat ( #24663 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-29 15:19:55 +08:00
Bowen Liang
3d5a4df9d0
chore: use orjson in streaming event JSON serialisation for performance improvement ( #24763 )
2025-08-29 14:06:07 +08:00
湛露先生
5c01dd97e8
clean typos words. ( #24667 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com >
2025-08-28 15:23:59 +08:00
Joel
dac72b078d
feat: support bool type variable frontend ( #24437 )
...
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com >
2025-08-26 18:16:05 +08:00
Yongtao Huang
fa753239ad
Refactor: use logger = logging.getLogger(__name__) in logging ( #24515 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com >
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-08-26 18:10:31 +08:00
-LAN-
da9af7b547
[Chore/Refactor] Use centralized naive_utc_now for UTC datetime operations ( #24352 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-08-22 23:53:05 +08:00
willzhao
5ab6bc283c
[CHORE]: x: T = None to x: Optional[T] = None ( #24217 )
2025-08-21 21:58:39 +08:00
Yongtao Huang
106ab7f2a8
Fix: safe defaults for BaseModel dict fields ( #24098 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-21 21:38:55 +08:00
Asuka Minato
70da81d0e5
try ast-grep ( #24149 )
2025-08-19 13:41:52 +08:00
湛露先生
0a9af45194
no used function for message_queue. ( #24027 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-17 09:33:22 +08:00
Yongtao Huang
8b601a983c
Fix missing user_id in trace_manager ( #24024 )
2025-08-16 11:08:30 +08:00
Will
5aaa47e25d
fix: messages updated_at ( #23869 )
2025-08-13 15:34:52 +08:00
-LAN-
332e8e68ee
refactor: Change _queue_manager to public attribute queue_manager in task pipelines ( #23747 )
2025-08-11 18:18:07 +08:00
-LAN-
2dbf20a3e9
fix: resolve circular import in AppGenerateEntity ( #23731 )
2025-08-11 15:38:28 +08:00
-LAN-
6900b08134
fix: sync missing conversation variables for existing conversations ( #23649 )
2025-08-09 22:42:18 +08:00
znn
084dcd1a50
using message_file event instead of message event ( #22988 )
2025-08-08 09:50:20 +08:00
kenwoodjw
28478cdc41
feat: support metadata condition filter string array ( #23111 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com >
2025-07-30 16:13:45 +08:00
Asuka Minato
a189d293f8
make logging not use f-str, change others to f-str ( #22882 )
2025-07-25 10:32:48 +08:00
Will
a327d024e9
fix: improved conversation name ( #22840 )
2025-07-24 11:28:05 +08:00
Asuka Minato
ef51678c73
orm filter -> where ( #22801 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: Claude <noreply@anthropic.com >
2025-07-24 00:57:45 +08:00
-LAN-
6b544aa0b9
feat: decouple WorkflowAppRunner from AppRunner ( #21739 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-07-23 14:56:06 +08:00
qfl
841e53dbbe
feat(trace): support external trace id propagation ( #22623 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-22 15:17:43 +08:00
Aryan Raj
ce794335e9
Fix/replace datetime patterns with naive utc now ( #22654 )
2025-07-20 11:05:53 +08:00
-LAN-
1f9cd99bc2
refactor: elegant event dispatch patterns (92% complexity reduction) ( #22600 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: Claude <noreply@anthropic.com >
2025-07-18 10:34:47 +08:00
-LAN-
460a825ef1
refactor: decouple Node and NodeData ( #22581 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com >
2025-07-18 10:08:51 +08:00
Maries
a4ef900916
Support OAuth Integration for Plugin Tools ( #22550 )
...
Co-authored-by: zxhlyh <jasonapring2015@outlook.com >
Co-authored-by: Yeuoly <admin@srmxy.cn >
2025-07-17 17:18:44 +08:00
jiangbo721
fb5c6dd644
chore: remove unused code ( #22501 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com >
2025-07-17 09:33:31 +08:00
yihong
d2933c2bfe
fix: drop dead code phase2 unused class ( #22042 )
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
2025-07-17 09:33:07 +08:00
QuantumGhost
2c1ab4879f
refactor(api): Separate SegmentType for Integer/Float to Enable Pydantic Serialization ( #22025 )
...
refactor(api): Separate SegmentType for Integer/Float to Enable Pydantic Serialization (#22025 )
This PR addresses serialization issues in the VariablePool model by separating the `value_type` tags for `IntegerSegment`/`FloatSegment` and `IntegerVariable`/`FloatVariable`. Previously, both Integer and Float types shared the same `SegmentType.NUMBER` tag, causing conflicts during serialization.
Key changes:
- Introduce distinct `value_type` tags for Integer and Float segments/variables
- Add `VariableUnion` and `SegmentUnion` types for proper type discrimination
- Leverage Pydantic's discriminated union feature for seamless serialization/deserialization
- Enable accurate serialization of data structures containing these types
Closes #22024 .
2025-07-16 12:31:37 +08:00
-LAN-
6eb155ae69
feat(api/repo): Allow to config repository implementation ( #21458 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com >
2025-07-14 14:54:38 +08:00
NeatGuyCoding
ebc4fdc4b2
moving the MessageStatus
class from the models.model
module to models.enums
module ( #21867 )
...
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com >
2025-07-03 13:56:23 +08:00
jiangbo721
e17b33e004
chore: add message status enum ( #21825 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com >
2025-07-02 21:22:28 +08:00
QuantumGhost
89250a36b7
fix(api): files not returned in the answer node ( #21807 )
2025-07-02 13:54:10 +08:00
QuantumGhost
c2e599cd85
fix(api): Fix resetting sys var causing internal server error ( #21604 )
...
and sorts draft variables by their creation time, ensures a consist order.
2025-07-02 13:36:35 +08:00
jiangbo721
71d6cf1b1d
fix: Make the latency and logs of web applications consistent. ( #21578 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com >
2025-07-02 12:04:33 +08:00
Qiang Lee
cf2173644e
Release db.session connection before workflow new thread long time operation ( #21726 )
...
Co-authored-by: 李强04 <liqiang04@gaotu.cn >
2025-07-01 12:05:29 +08:00