Repository navigation
大模型API投毒检测功能 #643
Answered
by
kexinoh
liujian135
asked this question in
Q&A
大模型API投毒检测功能
#643
|
问题:大模型API投毒检测litellm私域链接,返回"status_code":400,"reason":"base_url 不允许指向环回、私网、链路本地或保留地址" |
Answered by
kexinoh
Sep 10, 2026
Replies: 1 comment
|
这是避免对外(或者公司内)部署的时候,会产生ssrf的安全隐患。如果需要有本地ip需求的话,把下面两行删去即可 AI-Infra-Guard/services/api_checker/server.py Lines 403 to 404 in 7ef21e9 |
0 replies
Answer selected by
liujian135
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这是避免对外(或者公司内)部署的时候,会产生ssrf的安全隐患。如果需要有本地ip需求的话,把下面两行删去即可
AI-Infra-Guard/services/api_checker/server.py
Lines 403 to 404 in 7ef21e9