c3974aa822
feat(api): Agent App type S5/S6 — webapp parameters for Agent Apps
...
Add a shared get_app_parameters() resolver that maps any app type to its
webapp parameters, and route the web, service-API and explore /parameters
endpoints through it. Agent Apps have neither a workflow nor a legacy
app_model_config, so their presentation features (opening statement,
suggestions, file upload, ...) default to disabled with a free-form chat
input until a dedicated config surface lands.
This unblocks the public web app and service API for Agent Apps: /parameters
now returns a valid config instead of 500-ing on the missing app_model_config.
Live-verified end-to-end via the web app entry (passport -> parameters ->
streamed chat) and /v1/parameters. Unit tests cover all four resolver
branches (workflow, easy-UI config, agent defaults, unavailable).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-29 21:09:54 +08:00
741d48560d
refactor(api): add TypedDict definitions to models/model.py ( #32925 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-06 08:42:54 +09:00
5b02e5dcb6
refactor: migrate some ns.model to BaseModel ( #30388 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-01 00:38:12 +08:00
c1e8584b97
feat: Refactor api.add_resource to @console_ns.route decorator ( #26386 )
...
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
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>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-10-10 16:23:39 +08:00
a13d7987e0
chore: adopt StrEnum and auto() for some string-typed enums ( #25129 )
...
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-09-12 21:14:26 +08:00
9b8a03b53b
[Chore/Refactor] Improve type annotations in models module ( #25281 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-09-08 09:42:27 +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
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
358fd28c28
feat: fetch app info in plugins ( #18202 )
2025-04-16 20:27:29 +08:00
56e15d09a9
feat: mypy for all type check ( #10921 )
2024-12-24 18:38:51 +08:00
6452342222
feat(workflow): add configurable workflow file upload limit ( #10176 )
...
Co-authored-by: JzoNg <jzongcode@gmail.com >
2024-11-04 15:55:34 +08:00
dd17506078
feat(api): add generic file size limit parameter ( #9812 )
2024-10-25 09:02:06 +08:00
22bb0414a1
feat(parameters): standardize system parameter field types and values ( #9797 )
2024-10-24 21:52:57 +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
c57b3931d5
refactor(api): switch to dify_config in controllers/console ( #6485 )
2024-07-21 01:11:40 +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
14a19a3da9
chore: apply ruff's pyflakes linter rules ( #2420 )
2024-02-08 14:11:10 +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
6355e61eb8
tts models support ( #2033 )
...
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
Co-authored-by: Yeuoly <45712896+Yeuoly@users.noreply.github.com >
2024-01-24 01:05:37 +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
cc9e74123c
improve: introduce isort for linting Python imports ( #1983 )
2024-01-12 12:34:01 +08:00
a71f2863ac
Annotation management ( #1767 )
...
Co-authored-by: jyong <jyong@dify.ai >
2023-12-18 13:10:05 +08:00
41d0a8b295
feat: [backend] vision support ( #1510 )
...
Co-authored-by: Garfield Dai <dai.hai@foxmail.com >
2023-11-13 22:05:46 +08:00
db43ed6f41
feat: add api-based extension & external data tool & moderation backend ( #1403 )
...
Co-authored-by: takatost <takatost@gmail.com >
2023-11-06 19:36:16 +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
4fdb37771a
feat: universal chat in explore ( #649 )
...
Co-authored-by: StyleZhang <jasonapring2015@outlook.com >
2023-07-27 13:08:57 +08:00
a03a92e9db
Feat/chat support voice input ( #532 )
2023-07-07 17:50:42 +08:00
93ae18ea12
Feat: explore apps ( #196 )
2023-05-25 15:54:45 +08:00