-LAN-
85cda47c70
feat: knowledge pipeline (#25360)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: twwu <twwu@dify.ai>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: jyong <718720800@qq.com>
Co-authored-by: Wu Tianwei <30284043+WTW0313@users.noreply.github.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
Co-authored-by: lyzno1 <yuanyouhuilyz@gmail.com>
Co-authored-by: quicksand <quicksandzn@gmail.com>
Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com>
Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Yongtao Huang <yongtaoh2022@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: nite-knite <nkCoding@gmail.com>
Co-authored-by: Hanqing Zhao <sherry9277@gmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Harry <xh001x@hotmail.com>
hace 1 mes
-LAN-
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>
hace 1 mes
Yeuoly
ec808f3fe8
refactor: centralize default end user session ID constant (#25416)
This PR refactors the handling of the default end user session ID by centralizing it as an enum in the models module where the `EndUser` model is defined. This improves code organization and makes the relationship between the constant and the model clearer.
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
hace 1 mes
-LAN-
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>
hace 1 mes
Asuka Minato
38057b1b0e
add typing to all wraps (#25405)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
hace 1 mes
Yeuoly
720ecea737
fix: tenant_id was not specific when retrieval end-user in plugin backwards invocation wraps (#25377)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
hace 1 mes
ZalterCitty
4ee49f3550
chore: remove weird account login (#22247)
Co-authored-by: zhuqingchao <zhuqingchao@xiaomi.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
hace 1 mes
Asuka Minato
f6059ef389
add more typing (#24949)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
hace 1 mes
Will
d33dfee8a3
fix: EndUser is not bound to a Session (#25010)
hace 2 meses
Asuka Minato
d41d4deaac
example enum to StrEnum (#24877)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
hace 2 meses
Bowen Liang
39064197da
chore: cleanup unnecessary mypy suppressions on imports (#24712)
hace 2 meses
Asuka Minato
18dce66443
try flask_restful -> flask_restx (#24310)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
hace 2 meses
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>
hace 3 meses
Aryan Raj
ce794335e9
Fix/replace datetime patterns with naive utc now (#22654)
hace 3 meses
Ganondorf
55a6b330ec
Add get document detail service api (#21700)
Co-authored-by: lizb <lizb@sugon.com>
hace 4 meses
-LAN-
b357eca307
fix: Copy request context and current user in app generators. (#20240)
Signed-off-by: -LAN- <laipz8200@outlook.com>
hace 5 meses
Bowen Liang
8537abfff8
chore: avoid repeated type ignore noqa by adding flask_restful and flask_login in mypy import exclusions (#19224)
hace 6 meses
crazywoola
eb8584613b
fix: Account.query => db.session.query(Account) (#17667)
hace 6 meses
Jasonfish
fd443941a2
feat(improve-api-endpoints): Added Datasets and Annotation APIs (#12237)
hace 7 meses
Jyong
9b2a9260ef
Feat/new saas billing (#14996)
hace 7 meses
Yeuoly
9a417bfc5e
fix: update database query and model definitions (#14415)
hace 8 meses
EricPan
05a0faff6a
fix: app token's last_used_at can't be updated when last_used_at is null (#12770)
hace 9 meses
Jyong
9a6b1dc3a1
Revert "Feat/new saas billing" (#12673)
hace 9 meses
yihong
4e101604c3
fix: ruff check for True if ... else (#12576)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
hace 9 meses
Jyong
d8f57bf899
Feat/new saas billing (#12591)
hace 9 meses
-LAN-
0eeacdc80c
refactor: enhance API token validation with session locking and last used timestamp update (#12426)
Signed-off-by: -LAN- <laipz8200@outlook.com>
hace 10 meses
yihong
56e15d09a9
feat: mypy for all type check (#10921)
hace 10 meses
Bowen Liang
6c8e208ef3
chore: bump minimum supported Python version to 3.11 (#10386)
hace 11 meses
Garfield Dai
54b693d5b1
feat: update saas billing hint. (#7760)
hace 1 año
-LAN-
13be84e4d4
chore(api/controllers): Apply Ruff Formatter. (#7645)
hace 1 año
非法操作
e121788ff5
chore: make the error msg more clear when validate app token (#4919)
Co-authored-by: Jyong <76649700+johnjyong@users.noreply.github.com>
hace 1 año
Garfield Dai
4481906be2
Feat/enterprise sso (#3602)
hace 1 año
LIU HONGWEI
c227f3d985
feat: Deprecate datetime.utcnow() in favor of datetime.now(timezone.utc).replace(tzinfo=None) for better timezone handling (#3408) (#3416)
hace 1 año
Jyong
e12a0c154c
add segment function billing check for SAAS env (#3082)
Co-authored-by: jyong <jyong@dify.ai>
hace 1 año
Garfield Dai
8e66b96221
Feat: Add documents limitation (#2662)
hace 1 año
takatost
90bdc85f8c
fix: AppParameterApi.get() got an unexpected keyword argument 'end_user' (#2607)
hace 1 año
takatost
0828873b52
fix: missing default user for APP service api (#2606)
hace 1 año
Bowen Liang
063191889d
chore: apply ruff's pyupgrade linter rules to modernize Python code with targeted version (#2419)
hace 1 año
Bowen Liang
843280f82b
enhancement: introduce Ruff for Python linter for reordering and removing unused imports with automated pre-commit and sytle check (#2366)
hace 1 año
crazywoola
828822243a
fix: multiple rows were found correctly (#2219)
hace 1 año
IAMZn
d60f1a5601
fix:determine multiple result exceptions caused by admin (#2211)
Co-authored-by: chenxin <chenxin@limayao.com>
hace 1 año
Bowen Liang
e2c89a9487
fix: bypass admin users to use dataset api with API key (#2072)
hace 1 año
Bowen Liang
cc9e74123c
improve: introduce isort for linting Python imports (#1983)
hace 1 año
Garfield Dai
7b37e05dec
feat: add billing switch. (#1789)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
hace 1 año
Garfield Dai
7b8a10f3ea
feat: billing enhancement 20231204 (#1691)
Co-authored-by: jyong <jyong@dify.ai>
hace 1 año
takatost
024250803a
feat: move login_required wrapper outside (#1281)
hace 2 años
Jyong
46154c6705
Feat/dataset service api (#1245)
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
hace 2 años
takatost
09ea27f1ee
feat: optimize service api authorization header invalid error (#910)
hace 2 años
John Wang
db896255d6
Initial commit
hace 2 años