52ef3f2367
fix(chatflow): correct reasoning streaming, explore rehydration, iteration persistence
...
- ReasoningPanel: derive text inline instead of useMemo([content]); the live
stream mutates the reasoningContent object in place under a stable reference,
so a content-keyed memo froze the panel after the first delta. Add a test that
re-renders with the same mutated object to lock in streaming.
- Explore/installed-app message API: add ExploreMessageListItem +
ExploreMessageInfiniteScrollPagination so message_metadata (incl. reasoning) is
surfaced, letting chat-with-history rehydrate the thinking panel on reload.
Base MessageListItem / service_api public contract left unchanged.
- Persist reasoning per LLM node by accumulating across iteration/loop passes
(append, not overwrite) to match the live stream; guard on isinstance(str).
2026-06-23 14:35:52 +08:00
5d77c0af08
refactor: fix OpenAPI contract generation schemas ( #37387 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-12 14:25:53 +00:00
e0c6ca9930
fix: GET query parameter OpenAPI contracts ( #37378 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-12 09:01:22 +00:00
5aa24c25d9
chore: add InstalledApp type annotations to api endpoints ( #36678 )
2026-05-26 08:32:38 +00:00
2a5f7bb1aa
chore: inject current user in explore message handlers ( #36652 )
2026-05-26 05:31:51 +00:00
6133c2ab6a
chore: add UUID/str type annotations to api endpoints for files in api/controllers/console ( #36563 )
2026-05-24 07:59:56 +00:00
b04b4449db
chore(api): annotate simple contract responses ( #36331 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
2026-05-19 06:13:20 +00:00
3193e8a712
chore: reorg imports ( #35308 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-16 08:50:02 +00:00
0ba66ab155
refactor(api): deduplicate shared controller request schemas into controller_schemas.py ( #34700 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-08 03:10:04 +00:00
40591a7c50
refactor(api): use standalone graphon package ( #34209 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-27 21:05:32 +00:00
52e7492cbc
refactor(api): rename dify_graph to graphon ( #34095 )
2026-03-25 21:58:56 +08:00
5b9cb55c45
refactor: use EnumText for MessageFeedback and MessageFile columns ( #33738 )
2026-03-20 01:13:26 +09:00
4fd6b52808
refactor(api): move model_runtime into dify_graph ( #32858 )
2026-03-02 20:15:32 +08:00
2cef879209
refactor: more ns.model to BaseModel ( #30445 )
2026-01-04 17:12:28 +08:00
f0d02b4b91
refactor: split changes for api/controllers/console/explore/message.py ( #29890 )
2025-12-26 11:02:12 +08:00
05fe92a541
refactor: port reqparse to BaseModel ( #28993 )
...
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-12-08 15:31:19 +09:00
4488c090b2
fluent api ( #27093 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-19 12:54:41 +09: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
095c56a646
refactor(router): apply ns.route style ( #26339 )
2025-09-28 13:37:06 +08:00
08dd3f7b50
Fix basedpyright type errors ( #25435 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-10 01:54:26 +08:00
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
18dce66443
try flask_restful -> flask_restx ( #24310 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: -LAN- <laipz8200@outlook.com >
2025-08-24 13:45:47 +08:00
57e0a12ccd
Refactor: remove redundant full module paths in exception handlers ( #23076 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-29 09:40:51 +08:00
8537abfff8
chore: avoid repeated type ignore noqa by adding flask_restful and flask_login in mypy import exclusions ( #19224 )
2025-05-06 11:58:49 +08:00
c0d0c63592
feat: switch to chat messages before regenerated ( #11301 )
...
Co-authored-by: zuodongxu <192560071+zuodongxu@users.noreply.github.com >
2025-01-31 13:05:10 +08:00
4bd8df1fd3
fix: update MessageService.create_feedback to use keyword arguments f… ( #12134 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-26 23:26:44 +08:00
1d3f218662
fix: like failed close #12057 ( #12058 )
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
2024-12-25 10:57:52 +08:00
56e15d09a9
feat: mypy for all type check ( #10921 )
2024-12-24 18:38:51 +08:00
39df994ff9
fix: create_feedback args are wrong ( #11962 )
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
2024-12-23 09:20:47 +08:00
8c51d06222
feat: regenerate in Chat, agent and Chatflow app ( #7661 )
2024-09-22 03:15:11 +08:00
a1104ab97e
chore: refurish python code by applying Pylint linter rules ( #8322 )
2024-09-13 22:42:08 +08:00
13be84e4d4
chore(api/controllers): Apply Ruff Formatter. ( #7645 )
2024-08-26 15:29:10 +08:00
7753ba2d37
FEAT: NEW WORKFLOW ENGINE ( #3160 )
...
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: Yeuoly <admin@srmxy.cn >
Co-authored-by: JzoNg <jzongcode@gmail.com >
Co-authored-by: StyleZhang <jasonapring2015@outlook.com >
Co-authored-by: jyong <jyong@dify.ai >
Co-authored-by: nite-knite <nkCoding@gmail.com >
Co-authored-by: jyong <718720800@qq.com >
2024-04-08 18:51:46 +08:00
063191889d
chore: apply ruff's pyupgrade linter rules to modernize Python code with targeted version ( #2419 )
2024-02-09 15:21:33 +08:00
843280f82b
enhancement: introduce Ruff for Python linter for reordering and removing unused imports with automated pre-commit and sytle check ( #2366 )
2024-02-06 13:21:13 +08:00
9f637ead38
bump version to 0.5.3 ( #2306 )
2024-02-01 18:11:57 +08:00
86286e1ac8
Feat/assistant app ( #2086 )
...
Co-authored-by: chenhe <guchenhe@gmail.com >
Co-authored-by: Pascal M <11357019+perzeuss@users.noreply.github.com >
2024-01-23 19:58:23 +08:00
1a6ad05a23
feat: service api add llm usage ( #2051 )
2024-01-17 22:39:47 +08:00
cc9e74123c
improve: introduce isort for linting Python imports ( #1983 )
2024-01-12 12:34:01 +08:00
b88a8f7bb1
feat: optimize invoke errors ( #1922 )
2024-01-04 17:49:55 +08:00
d069c668f8
Model Runtime ( #1858 )
...
Co-authored-by: StyleZhang <jasonapring2015@outlook.com >
Co-authored-by: Garfield Dai <dai.hai@foxmail.com >
Co-authored-by: chenhe <guchenhe@gmail.com >
Co-authored-by: jyong <jyong@dify.ai >
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: Yeuoly <admin@srmxy.cn >
2024-01-02 23:42:00 +08:00
d3a2c0ed34
fix wrong syntax of type definitions ( #1678 )
2023-12-03 20:59:13 +08:00
46154c6705
Feat/dataset service api ( #1245 )
...
Co-authored-by: jyong <jyong@dify.ai >
Co-authored-by: StyleZhang <jasonapring2015@outlook.com >
2023-09-27 16:06:32 +08:00
642842d61b
Feat:dataset retiever resource ( #1123 )
...
Co-authored-by: jyong <jyong@dify.ai >
Co-authored-by: StyleZhang <jasonapring2015@outlook.com >
2023-09-10 15:17:43 +08:00
5fa2161b05
feat: server multi models support ( #799 )
2023-08-12 00:57:00 +08:00
7599f79a17
feat: claude api support ( #572 )
2023-07-17 00:14:19 +08:00
93ae18ea12
Feat: explore apps ( #196 )
2023-05-25 15:54:45 +08:00