-LAN-
9d5956cef8
[Chore/Refactor] Switch from MyPy to Basedpyright for type checking (#25047)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2 månader sedan
Bowen Liang
7b379e2a61
chore: apply ty checks on api code with script and ci action (#24653)
2 månader sedan
Guangdong Liu
372074edba
refactor(http-request): Remove the reflective calls to ssrf_proxy and replace them with explicitly defined dictionary retrievals. (#24596)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2 månader sedan
Yongtao Huang
a51998e4aa
Fix: prevent KeyError in validate_api_list by correcting logical check (#23126)
3 månader sedan
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>
3 månader sedan
Aryan Raj
ce794335e9
Fix/replace datetime patterns with naive utc now (#22654)
3 månader sedan
非法操作
b00f94df64
fix: replace all dataset.Model.query to db.session.query(Model) (#19509)
5 månader sedan
kenwoodjw
8bf3f5ea78
fix(api): resolve external knowledge API error due to excessive URL validation (#19003)
The `validators.url` method from the `validators==0.21.0` library enforces a
URL length limit of less than 90 characters, which led to failures in external
knowledge API requests for long URLs.
This PR addresses the issue by replacing `validators.url` with
`urllib.parse.urlparse`, effectively removing the restrictive URL length check.
Additionally, the unused `validators` dependency has been removed.
Fixes #18981 .
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
6 månader sedan
Jyong
abeaea4f79
Support knowledge metadata filter (#15982)
7 månader sedan
Bowen Liang
166221d784
chore(lint): fix quotes for f-string formatting by bumping ruff to 0.9.x (#12702)
9 månader sedan
yihong
56e15d09a9
feat: mypy for all type check (#10921)
10 månader sedan
yihong
50b76dd5a2
fix: better error message for url add external knowledge (#11537)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
10 månader sedan
Bowen Liang
6c8e208ef3
chore: bump minimum supported Python version to 3.11 (#10386)
11 månader sedan
Bowen Liang
d45d90e8ae
chore: lazy import sagemaker (#10342)
1 år sedan
非法操作
eb69896355
fix: allow external knowledge api use simple host (#9966)
1 år sedan
Jyong
badf9baf9b
Fix/external api update (#9955)
1 år sedan
Jyong
9d221a5e19
external knowledge api (#8913)
Co-authored-by: Yi <yxiaoisme@gmail.com>
1 år sedan