-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>
1 月之前
-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>
1 月之前
-LAN-
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>
1 月之前
Asuka Minato
a78339a040
remove bare list, dict, Sequence, None, Any (#25058)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
1 月之前
-LAN-
9d5956cef8
[Chore/Refactor] Switch from MyPy to Basedpyright for type checking (#25047)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2 月之前
Bowen Liang
7b379e2a61
chore: apply ty checks on api code with script and ci action (#24653)
2 月之前
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 月之前
Yongtao Huang
a51998e4aa
Fix: prevent KeyError in validate_api_list by correcting logical check (#23126)
3 月之前
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 月之前
Aryan Raj
ce794335e9
Fix/replace datetime patterns with naive utc now (#22654)
3 月之前
非法操作
b00f94df64
fix: replace all dataset.Model.query to db.session.query(Model) (#19509)
5 月之前
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 月之前
Jyong
abeaea4f79
Support knowledge metadata filter (#15982)
7 月之前
Bowen Liang
166221d784
chore(lint): fix quotes for f-string formatting by bumping ruff to 0.9.x (#12702)
9 月之前
yihong
56e15d09a9
feat: mypy for all type check (#10921)
10 月之前
yihong
50b76dd5a2
fix: better error message for url add external knowledge (#11537)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
10 月之前
Bowen Liang
6c8e208ef3
chore: bump minimum supported Python version to 3.11 (#10386)
11 月之前
Bowen Liang
d45d90e8ae
chore: lazy import sagemaker (#10342)
1 年之前
非法操作
eb69896355
fix: allow external knowledge api use simple host (#9966)
1 年之前
Jyong
badf9baf9b
Fix/external api update (#9955)
1 年之前
Jyong
9d221a5e19
external knowledge api (#8913)
Co-authored-by: Yi <yxiaoisme@gmail.com>
1 年之前