Commit Graph

11 Commits (test/performance)

Author SHA1 Message Date
非法操作 b00f94df64
fix: replace all dataset.Model.query to db.session.query(Model) (#19509) 9 months ago
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>
9 months ago
Jyong abeaea4f79
Support knowledge metadata filter (#15982) 11 months ago
Bowen Liang 166221d784
chore(lint): fix quotes for f-string formatting by bumping ruff to 0.9.x (#12702) 1 year ago
yihong 56e15d09a9
feat: mypy for all type check (#10921) 1 year ago
yihong 50b76dd5a2
fix: better error message for url add external knowledge (#11537)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
Bowen Liang 6c8e208ef3
chore: bump minimum supported Python version to 3.11 (#10386) 1 year ago
Bowen Liang d45d90e8ae
chore: lazy import sagemaker (#10342) 1 year ago
非法操作 eb69896355
fix: allow external knowledge api use simple host (#9966) 1 year ago
Jyong badf9baf9b
Fix/external api update (#9955) 1 year ago
Jyong 9d221a5e19
external knowledge api (#8913)
Co-authored-by: Yi <yxiaoisme@gmail.com>
1 year ago